Re[2]: [SMARTY] Count array function/modifier -- does it exist?
| From: | Hendy Irawan | Date: | Fri, 26 Jul 2002 06:52:00 +0000 |
| Subject: | Re[2]: [SMARTY] Count array function/modifier -- does it exist? | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-5457@lists.php.net to get a copy of this message | ||
smarty-general,
> You can 'alias' a Smarty function to a PHP one by using register_modifer.
Is there a plan to fix this into smarty sources ???
I found that I use this VERY often, even on early phases on web site
development. I think it's just very inefficient. Moreover it only
takes one line of code... Even that the fix is very simple (since we
don't have to *INVENT* a new function), I guess 'count' is a very
important feature, even more important than most other built-in
modifiers (or functions).
Salam hangat,
Hendy Irawan - www.GaulDong.NET
Kantor: (021) 5260467 [SoftVation]
Kos: (021) 5261839 [kamar 3]