Re: Sv: Re: New looping method proposal
| From: | Bertrand DUNOGIER | Date: | Wed, 21 Nov 2001 21:38:39 +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-2019@lists.php.net to get a copy of this message | ||
Hello,
AZ> Sometimes I think we need smarty.conf so that peopel can define
AZ> their own names for tags and attributes. Ooph.
Yes, i think so, too...
AZ> Anyway, regardless of the nomenclature, what does everyone think
AZ> about supporting other attributes like 'show', 'max', 'start',
AZ> and
AZ> 'step'? Are they even necessary? And then also, is there a need
AZ> for section property access, i.e. .last, .first, .index_prev,
AZ> .index_next?
all those start, show, etc etc attributes seems useless to me.
On the other hand, last, first, index_prev and index_next ARE
usefull... you sometimes need to know what comes next or what was the
previous element value in your loop, and you can't manage that kinda
features without adding elements to your array => more memory used.
show, max, start, etc are manageable in the php script itself.
Bertrand (aka Katana on EFNet :p)