Re: [SMARTY] Method Request

From: Date: Thu, 20 Feb 2003 18:39:57 +0000
Subject: Re: [SMARTY] Method Request
References: 1 2  Groups: php.smarty.dev php.smarty.general 
Request: Send a blank email to php-smarty-dev+get-778@lists.php.net to get a copy of this message
"Paul Lockaby" <lockaby@vt.edu> wrote in news:3E551B23.7030802@vt.edu... > Yes, I agree with that. If we load a configuration file using > $smarty->config_load, there should be some way to access the config > variables from inside the php script, aside from using > $smarty->_config[0]["vars"] and instead of having to create *another* > instance of the config_class to load the file again. In addition(!), can > we have some way to access all general variables already assigned > (through methods like $smarty->assign), aside from using $smarty->_tpl_vars? why not just have a $smarty->fetch_var('varname') That would fetch the var from the list of all vars, even config etc. it is useful, I need it :) ** Attaching php.smarty.dev to the list -- Tom Sommer www.tsn.dk - www.dreamcoder.dk

« previous php.smarty.dev (#778) next »