$objMap
$objMap : integer
Valid for all objects
Smarty Method ConfigLoad
Smarty::configLoad() method
configLoad(\Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data, string $config_file, mixed $sections = null) : \Smarty|\Smarty_Internal_Data|\Smarty_Internal_Template
load a config file, optionally load just selected sections
\Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty | $data | |
string | $config_file | filename |
mixed | $sections | array of section names, single section or null |
_loadConfigFile(\Smarty|\Smarty_Internal_Data|\Smarty_Internal_Template $data, string $config_file, mixed $sections = null, integer $scope) : \Smarty|\Smarty_Internal_Data|\Smarty_Internal_Template
load a config file, optionally load just selected sections
\Smarty|\Smarty_Internal_Data|\Smarty_Internal_Template | $data | |
string | $config_file | filename |
mixed | $sections | array of section names, single section or null |
integer | $scope | scope into which config variables shall be loaded |
_loadConfigVars(\Smarty_Internal_Template $tpl, array $new_config_vars)
load config variables into template object
\Smarty_Internal_Template | $tpl | |
array | $new_config_vars |
_assignConfigVars(array $config_vars, \Smarty_Internal_Template $tpl, array $new_config_vars)
Assign all config variables in given scope
array | $config_vars | config variables in scope |
\Smarty_Internal_Template | $tpl | |
array | $new_config_vars | loaded config variables |
_updateVarStack(\Smarty_Internal_Template $tpl, array $config_vars)
Update config variables in template local variable stack
\Smarty_Internal_Template | $tpl | |
array | $config_vars |
_getConfigVariable(\Smarty|\Smarty_Internal_Data|\Smarty_Internal_Template $data, string $varName, boolean $errorEnable = true) : null|string
gets a config variable value
\Smarty|\Smarty_Internal_Data|\Smarty_Internal_Template | $data | |
string | $varName | the name of the config variable |
boolean | $errorEnable |
the value of the config variable