extends |
Smarty_Internal_CompileBase |
---|
Smarty Internal Plugin Compile ForeachSection Class
Methods | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
public
|
scanForProperties(array $attributes, Smarty_Internal_TemplateCompilerBase $compiler)
Scan sources for used tag attributes
|
# | ||||||||
public
|
buildPropertyPreg(bool $named, array $attributes)
Build property preg string
Build property preg string |
# | ||||||||
public
|
matchProperty(string $source)
Find matches in source string
Find matches in source string |
# | ||||||||
public
|
matchTemplateSource(Smarty_Internal_TemplateCompilerBase $compiler)
Find matches in template source
Find matches in template source |
# | ||||||||
public
|
matchParentTemplateSource(Smarty_Internal_TemplateCompilerBase $compiler)
Find matches in all parent template source
|
# | ||||||||
public
|
matchBlockSource(Smarty_Internal_TemplateCompilerBase $compiler)
Find matches in {block} tag source
Find matches in {block} tag source |
# | ||||||||
public
|
compileSpecialVariable(array $args, Smarty_Internal_TemplateCompilerBase $compiler, array $parameter): string
Compiles code for the {$smarty.foreach.xxx} or {$smarty.section.xxx}tag
Compiles code for the {$smarty.foreach.xxx} or {$smarty.section.xxx}tag Parameters
Returnscompiled code Throws
|
# |
Methods inherited from Smarty_Internal_CompileBase |
---|
getAttributes(), openTag(), closeTag() |
Properties | |||
---|---|---|---|
public
|
string
|
$tagName = ''
|
# |
public
|
array
|
$nameProperties = []
|
# |
public
|
array
|
$itemProperties = null
|
# |
public
|
bool
|
$isNamed = true
|
# |
public
|
array
|
$matchResults = []
|
# |
Properties inherited from Smarty_Internal_CompileBase |
---|
$required_attributes, $optional_attributes, $shorttag_order, $option_flags, $optionMap, $mapCache |