Re: Sv: Re: New looping method proposal

From: Date: Wed, 21 Nov 2001 20:03:14 +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-2004@lists.php.net to get a copy of this message
On Wed, 21 Nov 2001, Monte Ohrt wrote: > Although using "through" looks more like an english sentence, for some > reason it doesn't sit right using that as an attribute name. I can't > quite put my finger on it though. Maybe because "through" doesn't make > sense anywhere except right after {loop ...} > > {loop through=$var as=current index=foo} > {loop index=foo as=current through=$var} > > Since attributes can be in any order, I wouldn't put an importance on > making the function statement look like an english sentence. I'd stick > to something like "source", or something that makes sense even outside > of the context of the function call and order of attributes. Okay. -Andrei * On the keyboard of life, always keep one finger on the escape key. *

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