mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 18:34:27 +02:00
update append documentation, make more clear on its function
This commit is contained in:
@@ -513,9 +513,10 @@ $smarty->autoload_filters = array('pre' => array('trim', 'stamp'),
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
This is used to append data to variables in the template. You
|
||||
can explicitly pass name/value pairs, or associative arrays
|
||||
containing the name/value pairs.
|
||||
This is used to append an element to an assigned array. If you append
|
||||
to a string value, it is converted to an array value and then
|
||||
appended to. You can explicitly pass name/value pairs, or associative
|
||||
arrays containing the name/value pairs.
|
||||
</para>
|
||||
<example>
|
||||
<title>append</title>
|
||||
|
Reference in New Issue
Block a user