4 * Smarty Method GetConfigVariable
6 * Smarty::getConfigVariable() method
9 * @subpackage PluginsInternal
12 class Smarty_Internal_Method_GetConfigVariable
15 * Valid for all objects
22 * gets a config variable value
24 * @param \Smarty|\Smarty_Internal_Data|\Smarty_Internal_Template $data
25 * @param string $varName the name of the config variable
26 * @param bool $errorEnable
28 * @return null|string the value of the config variable
30 public function getConfigVariable(Smarty_Internal_Data $data, $varName = null, $errorEnable = true)
32 return $data->ext->configLoad->_getConfigVariable($data, $varName, $errorEnable);