Re: cycle - name vs. id

From: Date: Fri, 03 May 2002 16:36:14 +0000
Subject: Re: cycle - name vs. id
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4040@lists.php.net to get a copy of this message
"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

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