Re: [SMARTY] Hidden [.Section] config vars in php file

From: Date: Fri, 14 Mar 2003 16:01:30 +0000
Subject: Re: [SMARTY] Hidden [.Section] config vars in php file
References: 1 2 3  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-8659@lists.php.net to get a copy of this message
Are you talking about loading config files in templates, or getting them directly in PHP? Please give an example. On Fri, 2003-03-14 at 09:29, Tom Henry wrote: > Thanks Monte - this does the trick! > > As an additiopnal refinement - is there some way to do the equivalent of an > 'extract()' - so that _all_ the hidden vars in the section are available -- thus > alleviating the need to revist scripts if additions are made to the .conf files? > > Thanks for you kind and gentle help, > > Tom Henry > > > Monte Ohrt wrote: > > You can set $config_read_hidden to true momentarily, but I like to use > > the Config_File class directly (see the FAQ in the wiki) > > -- Monte Ohrt <monte@ispi.net>

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