Re: Sv: Re: New looping method proposal

From: Date: Wed, 21 Nov 2001 23:13:57 +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-2027@lists.php.net to get a copy of this message
Personally, I think that the attributes currently supported by {section} would also be useful in {foreach}. Just my 2-cents worth :) Dave -----Original Message----- From: Andrei Zmievski [mailto:andrei@ispi.net] Sent: Wednesday, November 21, 2001 1:28 PM To: smarty@lists.ispi.net Cc: smarty@lists.ispi.net; anders.janson@mailbox.swipnet.se Subject: [smarty] Re: Sv: Re: New looping method proposal 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. 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? -Andrei What's hard, in hacking as in fiction, is not the writing, it's deciding what to write. -- Neal Stephenson --- You are currently subscribed to smarty as: phpdev@dplhenterprises.com To unsubscribe send a blank email to $subst('Email.Unsub') Visit Smarty's homepage at http://www.phpinsider.com/php/code/Smarty/

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