Re: [SMARTY] assign or append

From: Date: Mon, 30 Dec 2002 12:05:46 +0000
Subject: Re: [SMARTY] assign or append
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6968@lists.php.net to get a copy of this message
On Mon, Dec 30, 2002 at 12:46:40PM +0100, Hinrich Donner wrote: > Hi List, > > where is the difference between Smarty::assign() and Smarty::append()? "assign" sets the value of a given template variable. "append" assumes that the given template variable is an array and assigns a new value at the end of the array HTH messju > Regards > Hinrich Donner

« previous php.smarty.general (#6968) next »