Re: HTTP_*_VARS access
| From: | Andrei Zmievski | Date: | Thu, 28 Jun 2001 16:22:42 +0000 |
| Subject: | Re: HTTP_*_VARS access | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1059@lists.php.net to get a copy of this message | ||
On Thu, 28 Jun 2001, Monte Ohrt wrote:
> Ok, so is that any better than than having {$smarty.get.foo} in the
> template? Is this syntax going to cause problems in the future with how
> we use the dot "." syntax? It does take away from the variable namespace
> too.
It only takes away one variable - $smarty. And using the dot "."
notation for this is natural, since you can see these as properties of
objects.
> I'm playing devils advocate btw, I'm not trying to shoot down ideas,
> just create discussion. If we do or don't want to handle this a certain
> way, lets nail down exactly why.
Sure.
-Andrei
Computer, if you don't open that exit hatch this moment I shall zap straight
off to your major data banks and reprogram you with a very large axe.
-- Douglas Adams / The Hitchhiker's Guide to the Galaxy