mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
*** empty log message ***
This commit is contained in:
@@ -161,9 +161,8 @@ Hello Doug, glad to see you could make it.
|
|||||||
<p>
|
<p>
|
||||||
Your last login was on January 11th, 2001.</programlisting>
|
Your last login was on January 11th, 2001.</programlisting>
|
||||||
</example>
|
</example>
|
||||||
</sect2>
|
|
||||||
|
|
||||||
<sect2>
|
<sect3>
|
||||||
<title>Associative arrays</title>
|
<title>Associative arrays</title>
|
||||||
<para>
|
<para>
|
||||||
You can also reference associative array variables that are
|
You can also reference associative array variables that are
|
||||||
@@ -187,8 +186,8 @@ zaphod@slartibartfast.com<br>
|
|||||||
555-111-1234<br>
|
555-111-1234<br>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</example>
|
</example>
|
||||||
</sect2>
|
</sect3>
|
||||||
<sect2>
|
<sect3>
|
||||||
<title>Array indexes</title>
|
<title>Array indexes</title>
|
||||||
<para>
|
<para>
|
||||||
You can reference arrays by their index, much like native PHP
|
You can reference arrays by their index, much like native PHP
|
||||||
@@ -203,8 +202,8 @@ zaphod@slartibartfast.com<br>
|
|||||||
{$Contacts[0][0]}<br>
|
{$Contacts[0][0]}<br>
|
||||||
{$Contacts[0][1]}<br></programlisting>
|
{$Contacts[0][1]}<br></programlisting>
|
||||||
</example>
|
</example>
|
||||||
</sect2>
|
</sect3>
|
||||||
<sect2>
|
<sect3>
|
||||||
<title>Objects</title>
|
<title>Objects</title>
|
||||||
<para>
|
<para>
|
||||||
Properties of objects assigned from PHP can be referenced
|
Properties of objects assigned from PHP can be referenced
|
||||||
@@ -221,10 +220,11 @@ OUTPUT:
|
|||||||
name: Zaphod Beeblebrox<br>
|
name: Zaphod Beeblebrox<br>
|
||||||
email: zaphod@slartibartfast.com<br></programlisting>
|
email: zaphod@slartibartfast.com<br></programlisting>
|
||||||
</example>
|
</example>
|
||||||
|
</sect3>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
<title>Variables passed from config files</title>
|
<title>Variables loaded from config files</title>
|
||||||
<para>
|
<para>
|
||||||
Variables that are passed in from config files are displayed by enclosing
|
Variables that are passed in from config files are displayed by enclosing
|
||||||
them with hash marks (#) and enclosing the variable in delimiters
|
them with hash marks (#) and enclosing the variable in delimiters
|
||||||
|
Reference in New Issue
Block a user