Re: HTTP_*_VARS access

From: Date: Thu, 28 Jun 2001 15:37:23 +0000
Subject: Re: HTTP_*_VARS access
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1046@lists.php.net to get a copy of this message
Hi, Andrei Zmievski wrote: > So, it looks like people would prefer to have one $smarty object they > can access, In addition to the separate ones, because sometimes you *do* want to make a distinction between post and get. > $smarty.request.get.x > $smarty.request.cookies.x > > or > > $smarty.get.x > $smarty.cookies.x I prefer the second. The number of $smarty.* vars will probably be overseeable, so I don't think there's any need to introduce .request. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

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