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