mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-09 12:54:26 +02:00
note the fact that section loop will accept an integer
This commit is contained in:
@@ -104,7 +104,8 @@
|
|||||||
<listitem><para>
|
<listitem><para>
|
||||||
The <parameter>loop</parameter> attribute,
|
The <parameter>loop</parameter> attribute,
|
||||||
usually an array of values, determines the number of times the
|
usually an array of values, determines the number of times the
|
||||||
<varname>{section}</varname> will loop.
|
<varname>{section}</varname> will loop. You can also pass an integer
|
||||||
|
as the loop value.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
|
|
||||||
<listitem><para>When printing a variable within a <varname>{section}</varname>, the
|
<listitem><para>When printing a variable within a <varname>{section}</varname>, the
|
||||||
|
Reference in New Issue
Block a user