mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
A whole bunch of docs.
This commit is contained in:
@@ -289,7 +289,7 @@ email: zaphod@slartibartfast.com<br></programlisting>
|
|||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="language.variables.smarty.now">
|
<sect2 id="language.variables.smarty.now">
|
||||||
<title>Current timestamp</title>
|
<title>{$smarty.now}</title>
|
||||||
<para>
|
<para>
|
||||||
The current timestamp can be accessed with {$smarty.now}. The
|
The current timestamp can be accessed with {$smarty.now}. The
|
||||||
number reflects the number of seconds passed since the so-called
|
number reflects the number of seconds passed since the so-called
|
||||||
@@ -306,7 +306,7 @@ email: zaphod@slartibartfast.com<br></programlisting>
|
|||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="language.variables.smarty.capture">
|
<sect2 id="language.variables.smarty.capture">
|
||||||
<title>Output capture buffer</title>
|
<title>{$smarty.capture}</title>
|
||||||
<para>
|
<para>
|
||||||
The output captured via {capture}..{/capture} construct can be
|
The output captured via {capture}..{/capture} construct can be
|
||||||
accessed using {$smarty} variable. See section on
|
accessed using {$smarty} variable. See section on
|
||||||
@@ -315,7 +315,7 @@ email: zaphod@slartibartfast.com<br></programlisting>
|
|||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 id="language.variables.smarty.loops">
|
<sect2 id="language.variables.smarty.loops">
|
||||||
<title>Loop properties</title>
|
<title>{$smarty.section}, {$smarty.foreach}</title>
|
||||||
<para>
|
<para>
|
||||||
{$smarty} variable can be used to refer to 'section' and
|
{$smarty} variable can be used to refer to 'section' and
|
||||||
'foreach' loop properties. See docs for
|
'foreach' loop properties. See docs for
|
||||||
@@ -323,6 +323,15 @@ email: zaphod@slartibartfast.com<br></programlisting>
|
|||||||
<link linkend="language.function.foreach">foreach</link>.
|
<link linkend="language.function.foreach">foreach</link>.
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
<sect2 id="language.variables.smarty.template">
|
||||||
|
<title>{$smarty.template}</title>
|
||||||
|
<para>
|
||||||
|
This variable contains the name of the current template being
|
||||||
|
processed.
|
||||||
|
</para>
|
||||||
|
</sect2>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user