Re: Sv: Re: New looping method proposal

From: Date: Wed, 21 Nov 2001 21:36:53 +0000
Subject: Re: Sv: Re: New looping method proposal
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2020@lists.php.net to get a copy of this message
On Wed, 21 Nov 2001, Bertrand DUNOGIER wrote: > all those start, show, etc etc attributes seems useless to me. They were useful to me, for {section..} that is, that's why I put them in. > 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. What would be the meaning of index_prev/index_next? The previous and next keys? -Andrei * I don't mind going nowhere as long as it's an interesting path. *

« previous php.smarty.general (#2020) next »