Re: [SMARTY] Method Request

From: Date: Thu, 20 Feb 2003 19:46:15 +0000
Subject: Re: [SMARTY] Method Request
References: 1 2 3 4 5 6 7 8 9  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8040@lists.php.net to get a copy of this message
On 20 Feb 2003 13:44:24 -0600, Monte Ohrt wrote: > We already have get_template_vars() that just returns a reference to the > entire array. I wonder if we could expand that. > > example: > > $smarty->get_template_vars('varname'); > $smarty->get_template_vars('varname','config'); > > The first one gets the value of assigned var "varname", the second gets > the value of assigned config file var "varname". $smarty->get_config_vars('SQL-password'); why is it called _vars and not _var ;) -- Tom Sommer, denmark www.tsn.dk - www.dreamcoder.dk

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