Re: Sv: Re: New looping method proposal
| From: | Werner Hülsmeier | Date: | Wed, 21 Nov 2001 21:40:00 +0000 |
| Subject: | Re: Sv: Re: New looping method proposal | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-2021@lists.php.net to get a copy of this message | ||
> On Wed, 21 Nov 2001, Monte Ohrt wrote:
> > I used loop because {section} uses it, trying to follow some kind of
> > similarity.
>
> Sometimes I think we need smarty.conf so that peopel can define their
> own names for tags and attributes. Ooph.
You are joking!?
> Anyway, regardless of the nomenclature, what does everyone think about
> supporting other attributes like 'show', 'max', 'start', and
> 'step'? Are
> they even necessary? And then also, is there a need for section property
> access, i.e. .last, .first, .index_prev, .index_next?
These are IMHO part of the things that make Smarty smart ;-)
In my opinion you should focus on looping assoc. array!
cheers,
Werner