Re: New looping method proposal
| From: | Andrei Zmievski | Date: | Mon, 19 Nov 2001 18:58:18 +0000 |
| Subject: | Re: New looping method proposal | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1973@lists.php.net to get a copy of this message | ||
On Mon, 19 Nov 2001, Brent R. Matzelle wrote:
> Perhaps a Pythonesk syntax:
>
> {for $contact in $project.contactpersons}
> Person: $contact.name
> {/for}
I like this, but we should keep to the usual Smarty syntax of
attr=value, I think.
-Andrei
"Freedom comes when you learn to let go.
Creation comes when you learn to say no."
-madonna