Re: [SMARTY] Array keys, values

Monte Ohrt <[email protected]> Tue, 16 Oct 2007 08:09:06 -0500
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
It's in the modifiers section of the manual.

Christoph Boget wrote:
>> You can get the count of an array with {$array|@count}
>>     
>
>
> Where can I find out about this in the documentation?  I don't see a
> section  for something like this.  And when I did a search  for '@count' in
> the "english manual, the only thing that was returned was a page for
> {html_options} and the only reason that was returned is because @count was
> used in a comment on that page.
>
> But, you are better off assigning the count if you need it, and also
>
>
> But why would you assign it if there is another way to get it?
>
> thnx,
> Christoph
>
>   

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php