extends |
Smarty_Internal_Compile_Private_ForeachSection |
---|
Smarty Internal Plugin Compile Section Class
Methods | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
public
|
compile(array $args, Smarty_Internal_TemplateCompilerBase $compiler): string
Compiles code for the {section} tag
Compiles code for the {section} tag Parameters
Returnscompiled code Throws
|
# |
Methods inherited from Smarty_Internal_CompileBase |
---|
getAttributes(), openTag(), closeTag() |
Properties | |||
---|---|---|---|
public
|
array
|
$required_attributes = ['name', 'loop']
|
# |
public
|
array
|
$shorttag_order = ['name', 'loop']
|
# |
public
|
array
|
$optional_attributes = ['start', 'step', 'max', 'show', 'properties']
|
# |
public
|
int
|
$counter = 0
|
# |
public
|
string
|
$tagName = 'section'
|
# |
public
|
array
|
$nameProperties = [
'first',
'last',
'index',
'iteration',
'show',
'total',
'rownum',
'index_prev',
'index_next',
'loop',
]
|
# |
public
|
array
|
$itemProperties = null
|
# |
public
|
bool
|
$isNamed = true
|
# |
Properties inherited from Smarty_Internal_Compile_Private_ForeachSection |
---|
$matchResults |
Properties inherited from Smarty_Internal_CompileBase |
---|
$option_flags, $optionMap, $mapCache |