Class Smarty_Internal_Compile_Foreach
Smarty Internal Plugin Compile Foreach Class
- Smarty_Internal_CompileBase
-
Smarty_Internal_Compile_Private_ForeachSection
-
Smarty_Internal_Compile_Foreach
Package: Smarty\Compiler
Author: Uwe Tews
Located at tpl/smarty/sysplugins/smarty_internal_compile_foreach.php
Author: Uwe Tews
Located at tpl/smarty/sysplugins/smarty_internal_compile_foreach.php
Methods summary
public
string
|
#
compile( array $args,
Compiles code for the {foreach} tag |
Methods inherited from Smarty_Internal_Compile_Private_ForeachSection
buildPropertyPreg()
,
compileSpecialVariable()
,
matchBlockSource()
,
matchParentTemplateSource()
,
matchProperty()
,
matchTemplateSource()
,
scanForProperties()
Methods inherited from Smarty_Internal_CompileBase
Properties summary
public
array
|
$required_attributes
Attribute definition: Overwrites base class. |
#
array('from', 'item')
|
public
array
|
$optional_attributes
Attribute definition: Overwrites base class. |
#
array('name', 'key', 'properties')
|
public
array
|
$shorttag_order
Attribute definition: Overwrites base class. |
#
array('from', 'item', 'key', 'name')
|
public
integer
|
$counter
counter |
#
0
|
public
string
|
$tagName
Name of this tag |
#
'foreach'
|
public
array
|
$nameProperties
Valid properties of $smarty.foreach.name.xxx variable |
#
array('first', 'last', 'index', 'iteration', 'show', 'total')
|
public
array
|
$itemProperties
Valid properties of $item@xxx variable |
#
array('first', 'last', 'index', 'iteration', 'show', 'total', 'key')
|
public
boolean
|
$isNamed
Flag if tag had name attribute |
#
false
|