scope of config files, sections, and variables

From: Date: Sun, 23 Dec 2001 22:09:48 +0000
Subject: scope of config files, sections, and variables
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-2382@lists.php.net to get a copy of this message
Hi again, sorry to polute your mailboxes and expose my ignorance (this one I am more sorry for me). After having inspected the inside of the smarty class, I found what follows in few lines. I guess that the answer to my previous question is here, isn't it. I suppose these fall into the "Variable internal to template" from the guide and that they are accessible according to what is said in there? Could someone confirm? // internal vars var $_error_msg = false; // error messages. true/false var $_tpl_vars = array(); // where assigned template vars $ var $_smarty_vars = array(); // stores run-time $smarty.* vars var $_sections = array(); // keeps track of sections var $_foreach = array(); // keeps track of foreach blocks var $_conf_obj = null; // configuration object var $_config = array(); // loaded configuration settings var $_smarty_md5 = 'blablabla'; // md5 c$ var $_version = '1.5.1'; // Smarty version number var $_extract = false; // flag for custom functions var $_inclusion_depth = 0; // current template inclusion de$ var $_compile_id = null; // for different compiled templa$ var $_smarty_debug_id = 'SMARTY_DEBUG'; // text in URL to enable deb$ var $_smarty_debug_info = array(); // debugging information for deb$ var $_cache_info = array(); // info that makes up a cache fi$ Thanks Francois

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