Re: [SMARTY] template variables in template variables

From: Date: Mon, 15 Apr 2002 12:17:49 +0000
Subject: Re: [SMARTY] template variables in template variables
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-3723@lists.php.net to get a copy of this message
Hello Monte, Monte Ohrt wrote:
Yep, check out the eval function.
Nice function! In the examples, I saw usage is like this: {eval var="foo"} Can it also be used like this: {$foo|eval} ? This is more friendly and doesn't cloud my templates with {eval} statements. (And also because then I can apply it as default modifier to every template variable, so it's transparent if the contents of the variable contains nested stuff or not.) Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

« previous php.smarty.general (#3723) next »