Smarty Internal Plugin Compile Insert Class

package Smarty
subpackage Compiler

 Methods

Compiles code for the {insert} tag into cache file

compile(string $_function, array $_attr, \Smarty_Internal_Template $_template, string $_script, string $_assign) : string
Static

Parameters

$_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

Returns

stringcompiled code