RE: [SMARTY] Assigning arrays in a template...

From: Date: Mon, 28 Oct 2002 04:26:54 +0000
Subject: RE: [SMARTY] Assigning arrays in a template...
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6249@lists.php.net to get a copy of this message
Glad to help :) I'm not sure re the plugin...Monte, any thoughts? >-----Original Message----- >From: Philippe Desaulniers [mailto:filou@histrion.org] >Sent: Sunday, October 27, 2002 10:07 PM >To: gary@loescher.org; smarty-general@lists.php.net >Subject: RE: [SMARTY] Assigning arrays in a template... > > >Works very well, many thanks. > >Do you know if there are any plans to make this plugin (or another one >with similar functionality) be part of the default smarty installation? > >Thanks again, > >phil > >On Sun, 2002-10-27 at 22:36, Gary Loescher wrote: >> Here's a modification of Jens Lehmann's assign_array plugin >> that can create associative arrays. I added an "associative" >> parameter that is either "yes" or "no". If yes, then it reads >> the values as key/value pairs so that values="foo,bar" becomes >> array( 'foo' => 'bar' ). >> >> HTH, >> Gary >> > > > >-- >Smarty General Mailing List (http://smarty.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php >

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