Re: New looping method proposal
| From: | Brent R. Matzelle | Date: | Mon, 19 Nov 2001 18:29:22 +0000 |
| Subject: | Re: New looping method proposal | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1970@lists.php.net to get a copy of this message | ||
--- Andrei Zmievski <andrei@ispi.net> wrote:
> I am willing to entertain the idea of this construct, because it
> will
> solve the problem of looping through non-sequential or associative
> arrays. However, I do not think that I want to use the same syntax
> as
> PHP does. Can we come up with something better?
Perhaps a Pythonesk syntax:
{for $contact in $project.contactpersons}
Person: $contact.name
{/for}
Brent
__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com