Skip to content

Smarty_Internal_Method_GetConfigVariable

Smarty Method GetConfigVariable

Smarty::getConfigVariable() method

  • Full name: \Smarty_Internal_Method_GetConfigVariable

Properties

objMap

Valid for all objects

public int $objMap

Methods

getConfigVariable

gets a config variable value

public getConfigVariable(\Smarty|\Smarty_Internal_Data|\Smarty_Internal_Template $data, string $varName = null, bool $errorEnable = true): null|string

Parameters:

Parameter Type Description
$data \Smarty|\Smarty_Internal_Data|\Smarty_Internal_Template
$varName string the name of the config variable
$errorEnable bool

Return Value:

the value of the config variable



Automatically generated on 2025-03-18