Re: [SMARTY-DEV] undocumented foreach properties

From: Date: Tue, 18 Feb 2003 12:53:44 +0000
Subject: Re: [SMARTY-DEV] undocumented foreach properties
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-715@lists.php.net to get a copy of this message
On Tue, Feb 18, 2003 at 01:21:37PM +0100, - wrote: > hi there, > > I saw that the "last" property is working for the {section}, but does not > for {foreach} (I mean $smarty.foreach.name_of_foreach.last and the like) - > then taken a look at the Smarty compiler source. It was great to see that > this feature in fact is already included (together with "first" and > "iteration"), though it's missing from the docs. > > have a nice day, but be sure to know what you do and be careful using "features" that are not officially supported/documented. your templates might break on your next smarty-upgrade without warning. (like all the stuff that worked accidently in 2.3.1 due to a less restricted templateparser and doesn't work anymore) have fun messju > trajic > www.demoscene.hu

« previous php.smarty.dev (#715) next »