Re: Hack to print defines

From: Date: Sat, 22 Sep 2001 01:28:29 +0000
Subject: Re: Hack to print defines
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1519@lists.php.net to get a copy of this message
At 05:58 PM 9/21/01 -0500, Monte Ohrt wrote:
If you hack smarty (or if it was ever supported), I'd do it in the following fashion: {$smarty.defined.foo} We're trying to shy away from different syntaxes for different variable types, as this becomes more confusing and harder to support as more are added. I almost wish we would have stayed away from it in the first place, using {$smarty.config.var} instead of {#var#} for example. But we can't predict everything :-)
Oh, no, no, no... #var# is good, #var# is very good... cause it's used so often.. :) -Andrei

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