Home > Archive > PHP Smarty Templates > October 2004 > Re: [SMARTY] number_format should be standard smarty modifier
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [SMARTY] number_format should be standard smarty modifier
|
|
| Robert Amos 2004-10-08, 3:58 pm |
| You can use any inbuilt php function as a smarty modifier, whats
preventing you from using that? Theres no need for a wrapper that adds
extra processing when the engine will pass it through to the php
number_format() function automagically.
-bok
On Fri, 8 Oct 2004 16:22:36 +0400 (MSD), Zoran Knezevic <zoka@hotbox.ru> wrote:
<snip>
--
Xnyo - http://xnyo.odynia.org/
| |
|
| I Agree. Even when Smarty's security is turned on, access to the native
PHP functions can be had by whitelisting them in your setup. When it is
a straight passthru like this, I think that a modifier wrapper is going
overboard.
xo boots
--- Robert Amos <shiznatz@gmail.com> wrote:
> You can use any inbuilt php function as a smarty modifier, whats
> preventing you from using that? Theres no need for a wrapper that
> adds extra processing when the engine will pass it through to the php
> number_format() function automagically.
|
|
|
|
|