Skip to content

Smarty_Internal_Nocache_Insert

Smarty Internal Plugin Compile Insert Class

  • Full name: \Smarty_Internal_Nocache_Insert

Methods

compile

Compiles code for the {insert} tag into cache file

public static compile(string $_function, array $_attr, \Smarty_Internal_Template $_template, string $_script, string $_assign = null): string
  • This method is static.

Parameters:

Parameter Type Description
$_function string insert function name
$_attr array array with parameter
$_template \Smarty_Internal_Template template object
$_script string script name to load or 'null'
$_assign string optional variable name

Return Value:

compiled code



Automatically generated on 2025-03-18