Re: [SMARTY] Accessing loop-variable in a {section}
| From: | Juzan Jean-Michel | Date: | Fri, 14 Mar 2003 13:24:39 +0000 |
| Subject: | Re: [SMARTY] Accessing loop-variable in a {section} | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8646@lists.php.net to get a copy of this message | ||
Le ven 14/03/2003 à 14:06, Ronny 'Ronino' Multrus a écrit :
> Hello,
>
> is it somehow possible to access the loop-variable in a section other than
> like $something[currLoop]?
>
> I got something like
> {section name="sec" loop=3}
> ...
> {/section}
> and I need to know the current value of the loop-Variable. Something like $sec
> doesn't work.
loop -> The name of the variable to determine # of loop iterations>
http://smarty.php.net/manual/en/language.function.section.php
--
Jean-Michel Juzan jmjuzan@ecreasol.ch
Direction Informations & Technologies
eCreaSol - NetWork Creative Solutions SARL - http://www.ecreasol.ch/
PGP public keys server : http://www.keyserver.net
Attachment: [application/pgp-signature] signature.asc
Attachment: [application/pgp-signature] signature.asc