RE: [SMARTY] Assigning arrays in a template...
| From: | Philippe Desaulniers | Date: | Mon, 28 Oct 2002 04:07:15 +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-6248@lists.php.net to get a copy of this message | ||
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
>