extends |
Smarty_Internal_CompileBase |
|---|
Smarty Internal Plugin Compile Include Class
| Methods | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
public
|
compile(array $args, Smarty_Internal_SmartyTemplateCompiler $compiler): string
Compiles code for the {include} tag
Compiles code for the {include} tag Parameters
Throws
|
# | ||||||||||
public
|
compileInlineTemplate(
Smarty_Internal_SmartyTemplateCompiler $compiler,
Smarty_Internal_Template $tpl,
string $t_hash,
): bool
Compile inline sub template
|
# | ||||||||||
| Methods inherited from Smarty_Internal_CompileBase |
|---|
getAttributes(), openTag(), closeTag() |
| Constants | ||
|---|---|---|
public
|
CACHING_NOCACHE_CODE = 9999
caching mode to create nocache code but no cache file
caching mode to create nocache code but no cache file |
# |
| Properties | |||
|---|---|---|---|
public
|
array
|
$required_attributes = ['file']
|
# |
public
|
array
|
$shorttag_order = ['file']
|
# |
public
|
array
|
$option_flags = ['nocache', 'inline', 'caching']
|
# |
public
|
array
|
$optional_attributes = ['_any']
|
# |
public
|
array
|
$valid_scopes = [
'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 |
|---|
$optionMap, $mapCache |