Re: HTTP_*_VARS access

From: Date: Thu, 28 Jun 2001 16:29:11 +0000
Subject: Re: HTTP_*_VARS access
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1062@lists.php.net to get a copy of this message
> > Is this really much different from $smarty.get.foo? > > It is a visual separation in the template between assigned and > environment variables, otherwise it isn't much different. > Come to think of it, I like the idea of having a visual separation between assigned template variables and web server variables. {$smarty.get.foo} looks much like an assigned variable, whereas {=foo=} or {=get.foo=} is a visual separation between the two variable types, and does not take away from the assigned namespace. To me, this is follows our template variable syntax. {% %} for smarty internal variables, {# #} for config vars, and {$ } for assigned vars. Adding {= =} makes sense for a new variable type. Or at the very least, maybe we should figure out a way to use {% %} for these variables. Monte

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