Re: [SMARTY] Eval in the plugins
| From: | messju mohr | Date: | Sun, 20 Apr 2003 12:26:33 +0000 |
| Subject: | Re: [SMARTY] Eval in the plugins | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9346@lists.php.net to get a copy of this message | ||
On Sun, Apr 20, 2003 at 11:44:21AM +0200, Haber Janos wrote:
> Hi!
>
> I want to evaulate an expression ina block function, that´s possible?
have a look into libs/plugins/function.eval.php how it is done there.
$this->_compile_template() is used there. it is considered internal,
so nobody can give you a 100% guarantee, that this function won't
change and your block-function will still work as is with smarty-4.0
or the like, but IMHO it's the best opportunity you have for now.
greetings
messju
> Cow
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php