Re: [SMARTY] Re: cycle - name vs. id

From: Date: Fri, 03 May 2002 18:16:46 +0000
Subject: Re: [SMARTY] Re: cycle - name vs. id
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4045@lists.php.net to get a copy of this message
My thoughts too. I've changed "id" to "name" in CVS, along with documentation. I'll probably deprecate id from counter too, changing that to name (but id will still work for the foreseeable future) Monte Norbert Röcher wrote:
"Monte Ohrt" <monte@ispi.net> schrieb im Newsbeitrag news:3CD2B6F4.9040801@ispi.net...
Should cycle use name or id? What makes better sense? {cycle name=foo ...} {cycle id=foo ...} I used id because {counter} already uses id. However, many other functions use name.
This question was my first thought, when i saw the cycle-function. I think the use of "name" would make better sense, since this matches most other smarty functions. Norbert
-- Monte Ohrt <monte@ispi.net> Director of Technology, ispi Inc.

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