mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 02:14: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>
|
||||
Your last login was on January 11th, 2001.</programlisting>
|
||||
</example>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<sect3>
|
||||
<title>Associative arrays</title>
|
||||
<para>
|
||||
You can also reference associative array variables that are
|
||||
@@ -187,8 +186,8 @@ zaphod@slartibartfast.com<br>
|
||||
555-111-1234<br>
|
||||
</programlisting>
|
||||
</example>
|
||||
</sect2>
|
||||
<sect2>
|
||||
</sect3>
|
||||
<sect3>
|
||||
<title>Array indexes</title>
|
||||
<para>
|
||||
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][1]}<br></programlisting>
|
||||
</example>
|
||||
</sect2>
|
||||
<sect2>
|
||||
</sect3>
|
||||
<sect3>
|
||||
<title>Objects</title>
|
||||
<para>
|
||||
Properties of objects assigned from PHP can be referenced
|
||||
@@ -221,10 +220,11 @@ OUTPUT:
|
||||
name: Zaphod Beeblebrox<br>
|
||||
email: zaphod@slartibartfast.com<br></programlisting>
|
||||
</example>
|
||||
</sect2>
|
||||
</sect3>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Variables passed from config files</title>
|
||||
<title>Variables loaded from config files</title>
|
||||
<para>
|
||||
Variables that are passed in from config files are displayed by enclosing
|
||||
them with hash marks (#) and enclosing the variable in delimiters
|
||||
|
Reference in New Issue
Block a user