| Jan H. Andersen 2005-02-01, 4:01 pm |
| Hello,
I have to defend Pete now :-) It is not in any way clearly stated in the
manual, that you can apply modifiers directly on parameters when calling a
function - although it is very convenient to know...
/Jan
-----Oprindelig meddelelse-----
Fra: Monte Ohrt [mailto:monte@ohrt.com]
Sendt: 1. februar 2005 18:12
Til: pete M; smarty-general@lists.php.net
Emne: Re: [SMARTY] modifiers
How do you mean? In your example you are applying a modifier to a
parameter, although you can apply them to functions:
{myfunc|mymod param="foo"}
which is documented on that page too....
Monte
pete M wrote:
> Realised that mofifiers can me applied to functions
>
> eg
> {html_options options=$optins|upper}
>
> Should this ability not go on this manual page ??
>
> http://smarty.php.net/manual/en/language.modifiers.php
>
> just a thought
>
> pete ;-)
>
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
|