extends |
Smarty_Internal_CompileBase |
---|
Smarty Internal Plugin Compile Assign Class
Methods | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
public
|
compile(array $args, Smarty_Internal_TemplateCompilerBase $compiler, array $parameter): string
Compiles code for the {assign} tag
Compiles code for the {assign} tag Parameters
Returnscompiled code Throws
Overriden by |
# |
Methods inherited from Smarty_Internal_CompileBase |
---|
getAttributes(), openTag(), closeTag() |
Properties | |||
---|---|---|---|
public
|
array
|
$option_flags = ['nocache', 'noscope']
|
# |
public
|
array
|
$valid_scopes = [
'local' => Smarty::SCOPE_LOCAL,
'parent' => Smarty::SCOPE_PARENT,
'root' => Smarty::SCOPE_ROOT,
'global' => Smarty::SCOPE_GLOBAL,
'tpl_root' => Smarty::SCOPE_TPL_ROOT,
'smarty' => Smarty::SCOPE_SMARTY,
]
|
# |
Properties inherited from Smarty_Internal_CompileBase |
---|
$required_attributes, $optional_attributes, $shorttag_order, $optionMap, $mapCache |