Re: HTTP_*_VARS access

From: Date: Thu, 28 Jun 2001 16:35:45 +0000
Subject: Re: HTTP_*_VARS access
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1066@lists.php.net to get a copy of this message
> > 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?" I also dislike the second syntax. The $smarty predefined var would be fine. Goba

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