Re: [SMARTY] Method Request

From: Date: Thu, 20 Feb 2003 18:14:59 +0000
Subject: Re: [SMARTY] Method Request
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8025@lists.php.net to get a copy of this message
Tom Sommer wrote:
Hi, I would like to request a new method to extend config_load I would like to be able to call $smarty->config_var('pageTitle'); which would get the variable pageTitle which in turn was pulled out of the config file
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? Thanks, ~Paul

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