Re: [SMARTY] Eval in the plugins
| From: | messju mohr | Date: | Sun, 20 Apr 2003 12:32:08 +0000 |
| Subject: | Re: [SMARTY] Eval in the plugins | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9347@lists.php.net to get a copy of this message | ||
On Sun, Apr 20, 2003 at 12:26:33PM +0000, messju mohr wrote:
> 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.
grr. "option" not "opportunity". my english sucks sometimes a lot :(
> greetings
> messju
>
> > Cow