append <methodsynopsis> <type>void</type><methodname>append</methodname> <methodparam><type>mixed</type><parameter>var</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>void</type><methodname>append</methodname> <methodparam><type>string</type><parameter>varname</parameter></methodparam> <methodparam><type>mixed</type><parameter>var</parameter></methodparam> <methodparam choice="opt"><type>bool</type><parameter>merge</parameter></methodparam> </methodsynopsis> <para> Si usa per aggiungere un elemento ad un array. Se aggiungete un valore stringa, verrą convertito in un elemento di array e aggiunto. Potete passare esplicitamente coppie nome/valore, oppure array associativi contenenti le coppie nome/valore. Se passate il terzo parametro opzionale a true, il valore verrą fuso nell'array corrente invece che aggiunto. </para> ¬e.parameter.merge; <example> <title>append append("Name", "Fred"); $smarty->append("Address", $address); // passaggio di un array associativo $smarty->append(array("city" => "Lincoln", "state" => "Nebraska")); ?> ]]>