commit Peter Morgan's patch to add more references/aka see also

some WS
This commit is contained in:
nlopess
2005-05-10 16:01:12 +00:00
parent 55dba92857
commit aeab0151bf
19 changed files with 300 additions and 277 deletions

View File

@@ -54,8 +54,10 @@
</informaltable>
<para>
<emphasis>foreach</emphasis> loops are an alternative to
<emphasis>section</emphasis> loops. <emphasis>foreach</emphasis> is
used to loop over a single associative array. The syntax for
<link
linkend="language.function.section"><emphasis>section</emphasis></link>
loops. <emphasis>foreach</emphasis> is used to loop over a single
associative array. The syntax for
<emphasis>foreach</emphasis> is much easier than
<emphasis>section</emphasis>, but as a tradeoff it can only be used
for a single array. <emphasis>foreach</emphasis> tags must be
@@ -178,6 +180,10 @@
<emphasis>total</emphasis> is used to display the number of iterations that this foreach
will loop. This can be used inside or after the foreach.
</para>
<para>
See also <link linkend="language.function.section">{section}</link> and
<link linkend="language.variables.smarty.loops">$smarty.foreach</link>.
</para>
</sect2>
</sect1>
<!-- Keep this comment at the end of the file
@@ -199,4 +205,4 @@
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
-->