$_objType
$_objType : integer
This object type (Smarty = 1, template = 2, data = 4)
Base class with template and variable methods
$tpl_vars : array<mixed,\Smarty_Variable>
template variables
$parent : \Smarty|\Smarty_Internal_Template|\Smarty_Internal_Data
parent template (if any)
$ext : \Smarty_Internal_Extension_Handler
extension handler
assign(array|string $tpl_var, mixed $value = null, boolean $nocache = false) : \Smarty_Internal_Data
assigns a Smarty variable
array|string | $tpl_var | the template variable name(s) |
mixed | $value | the value to assign |
boolean | $nocache | if true any output of this variable will be not cached |
current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chaining
append(array|string $tpl_var, mixed $value = null, boolean $merge = false, boolean $nocache = false) : \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty
appends values to template variables
array|string | $tpl_var | the template variable name(s) |
mixed | $value | the value to append |
boolean | $merge | flag if array elements shall be merged |
boolean | $nocache | if true any output of this variable will be not cached |
assignGlobal(string $varName, mixed $value = null, boolean $nocache = false) : \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty
assigns a global Smarty variable
string | $varName | the global variable name |
mixed | $value | the value to assign |
boolean | $nocache | if true any output of this variable will be not cached |
appendByRef(string $tpl_var, $value, boolean $merge = false) : \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty
appends values to template variables by reference
string | $tpl_var | the template variable name |
$value | ||
boolean | $merge | flag if array elements shall be merged |
assignByRef(string $tpl_var, $value, boolean $nocache = false) : \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty
assigns values to template variables by reference
string | $tpl_var | the template variable name |
$value | ||
boolean | $nocache | if true any output of this variable will be not cached |
getTemplateVars(string $varName = null, \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $_ptr = null, boolean $searchParents = true) : mixed
Returns a single or all template variables
string | $varName | variable name or null |
\Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty | $_ptr | optional pointer to data object |
boolean | $searchParents | include parent templates? |
variable value or or array of variables
getVariable(string $variable = null, \Smarty_Internal_Data $_ptr = null, boolean $searchParents = true, boolean $error_enable = true) : \Smarty_Variable|\Smarty_Undefined_Variable
gets the object of a Smarty variable
string | $variable | the name of the Smarty variable |
\Smarty_Internal_Data | $_ptr | optional pointer to data object |
boolean | $searchParents | search also in parent data |
boolean | $error_enable |
the object of the variable
_mergeVars(\Smarty_Internal_Data|null $data = null)
Follow the parent chain an merge template and config variables
\Smarty_Internal_Data|null | $data |
None found |
None found |
None found |
_isSmartyObj() : boolean
Return true if this instance is a Smarty obj
None found |
_getSmartyObj() : \Smarty
Get Smarty object
None found |
__call(string $name, array $args) : mixed
Handle unknown class methods
string | $name | unknown method-name |
array | $args | argument array |
None found |
getConfigVariable(string $varName, boolean $errorEnable = true) : mixed
string | $varName | |
boolean | $errorEnable |
None found |
getConfigVars(string $varName = null, boolean $searchParents = true) : mixed
string | $varName | |
boolean | $searchParents |
None found |
None found |
getStreamVariable(string $variable) : mixed
string | $variable |
None found |
clearAssign(mixed $tpl_var) : \Smarty_Internal_Data
mixed | $tpl_var |
None found |
None found |
clearConfig(string $varName = null) : \Smarty_Internal_Data
string | $varName |
None found |
configLoad(string $config_file, mixed $sections = null, string $scope = 'local') : \Smarty_Internal_Data
string | $config_file | |
mixed | $sections | |
string | $scope |
None found |