Re[2]: [SMARTY] Count array function/modifier -- does it exist?
| From: | Hendy Irawan | Date: | Sat, 27 Jul 2002 08:57:30 +0000 |
| Subject: | Re[2]: [SMARTY] Count array function/modifier -- does it exist? | ||
| References: | 1 2 3 4 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5469@lists.php.net to get a copy of this message | ||
smarty-general,
> depends on your security settings. default: no! (of course)
So, to do {$articleTitle|count},
do I have to:
$smarty->security_settings[MODIFIER_FUNCS] = array('count');
???
And my previous question hasn't been answered yet, the documentation
mentions {$articleTitle|count} but does NOT (tell me please if I'm
missing something here...!) mention a modifier called "count". Or is
it referring to the "count" PHP function that is used as a modifier,
that I will ONLY be able to use if I set
$security_settings[MODIFIER_FUNCS] accordingly ??
Oh no.....
Salam hangat,
Hendy Irawan - www.GaulDong.NET
Kantor: (021) 5260467 [SoftVation]
Kos: (021) 5261839 [kamar 3]