Re: HTTP_*_VARS access

From: Date: Thu, 28 Jun 2001 16:12:34 +0000
Subject: Re: HTTP_*_VARS access
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1053@lists.php.net to get a copy of this message
On Thu, 28 Jun 2001, Monte Ohrt wrote: > That could be. Let's find out why. What is the pros/cons of each? > > $smarty.get.foo > > pros: doesn't create new syntax > cons: kind of wordy in the template? > > {=foo=} > > pros: short easy to read & understand > cons: yet another variable syntax I don't think you can automatically say it's "easy to read & understand" because the user will have to be thinking, "Now, what do the two equal signs on both sides mean? Is it different from config var?" -Andrei The Heineken Uncertainty Principle: You can never be sure how many beers you had last night.

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