Smarty Method ConfigLoad
Smarty::configLoad() method
Methods | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
public
|
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
load a config file, optionally load just selected sections Parameters
Throws
|
# | ||||||||
public
|
_loadConfigFile(
Smarty|Smarty_Internal_Data|Smarty_Internal_Template $data,
string $config_file,
mixed $sections = null,
int $scope = 0,
)
load a config file, optionally load just selected sections
load a config file, optionally load just selected sections Parameters
Throws
|
# | ||||||||
public
|
_loadConfigVars(Smarty_Internal_Template $tpl, array $new_config_vars)
load config variables into template object
load config variables into template object |
# | ||||||||
public
|
_assignConfigVars(array &$config_vars, Smarty_Internal_Template $tpl, array $new_config_vars)
Assign all config variables in given scope
Assign all config variables in given scope Parameters
|
# | ||||||||
public
|
_updateVarStack(Smarty_Internal_Template $tpl, array $config_vars)
Update config variables in template local variable stack
Update config variables in template local variable stack |
# | ||||||||
public
|
_getConfigVariable(
Smarty|Smarty_Internal_Data|Smarty_Internal_Template $data,
string $varName,
bool $errorEnable = true,
): null|string
gets a config variable value
gets a config variable value Parameters
Returnsthe value of the config variable |
# |
Properties | |||
---|---|---|---|
public
|
int
|
$objMap = 7
|
# |