class for the Smarty data object
The Smarty data object will hold Smarty variables in the current scope
| package | Smarty |
|---|---|
| subpackage | Template |
append(array | string $tpl_var, mixed $value, boolean $merge, boolean $nocache) : \Smarty_Internal_Data
| inherited_from | \Smarty_Internal_Data::append() |
|---|
arraystringthe template variable name(s)
mixedthe value to append
booleanflag if array elements shall be merged
booleanif true any output of this variable will be not cached
\Smarty_Internal_Datacurrent Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingappendByRef(string $tpl_var, mixed $value, boolean $merge) : \Smarty_Internal_Data
| inherited_from | \Smarty_Internal_Data::appendByRef() |
|---|
stringthe template variable name
mixed&$value the referenced value to append
booleanflag if array elements shall be merged
\Smarty_Internal_Datacurrent Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingassign(array | string $tpl_var, mixed $value, boolean $nocache) : \Smarty_Internal_Data
| inherited_from | \Smarty_Internal_Data::assign() |
|---|
arraystringthe template variable name(s)
mixedthe value to assign
booleanif true any output of this variable will be not cached
\Smarty_Internal_Datacurrent Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingassignByRef(string $tpl_var, $value, boolean $nocache) : \Smarty_Internal_Data
| inherited_from | \Smarty_Internal_Data::assignByRef() |
|---|
stringthe template variable name
booleanif true any output of this variable will be not cached
\Smarty_Internal_Datacurrent Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingassignGlobal(string $varname, mixed $value, boolean $nocache) : \Smarty_Internal_Data
| inherited_from | \Smarty_Internal_Data::assignGlobal() |
|---|
stringthe global variable name
mixedthe value to assign
booleanif true any output of this variable will be not cached
\Smarty_Internal_Datacurrent Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingclearAllAssign() : \Smarty_Internal_Data
| inherited_from | \Smarty_Internal_Data::clearAllAssign() |
|---|
\Smarty_Internal_Datacurrent Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingclearAssign(string | array $tpl_var) : \Smarty_Internal_Data
| inherited_from | \Smarty_Internal_Data::clearAssign() |
|---|
stringarraythe template variable(s) to clear
\Smarty_Internal_Datacurrent Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingclearConfig(string $varname) : \Smarty_Internal_Data
| inherited_from | \Smarty_Internal_Data::clearConfig() |
|---|
stringvariable name or null
\Smarty_Internal_Datacurrent Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingconfigLoad(string $config_file, mixed $sections) : \Smarty_Internal_Data
| inherited_from | \Smarty_Internal_Data::configLoad() |
|---|
stringfilename
mixedarray of section names, single section or null
\Smarty_Internal_Datacurrent Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chaininggetConfigVariable(string $variable, $error_enable) : mixed
| inherited_from | \Smarty_Internal_Data::getConfigVariable() |
|---|
stringthe name of the config variable
mixedthe value of the config variablegetConfigVars(string $varname, $search_parents) : string
| inherited_from | \Smarty_Internal_Data::getConfigVars() |
|---|
stringvariable name or null
stringvariable value or or array of variablesgetStreamVariable(string $variable) : mixed
| inherited_from | \Smarty_Internal_Data::getStreamVariable() |
|---|
stringthe stream of the variable
mixedthe value of the stream variablegetTemplateVars(string $varname, string $_ptr, boolean $search_parents) : string
| inherited_from | \Smarty_Internal_Data::getTemplateVars() |
|---|
stringvariable name or null
stringoptional pointer to data object
booleaninclude parent templates?
stringvariable value or or array of variablesgetVariable(string $variable, object $_ptr, boolean $search_parents, $error_enable) : object
| inherited_from | \Smarty_Internal_Data::getVariable() |
|---|
stringthe name of the Smarty variable
objectoptional pointer to data object
booleansearch also in parent data
objectthe object of the variable$config_vars : array
| inherited_from | \Smarty_Internal_Data::$$config_vars |
|---|
$smarty : \Smarty
$template_class : string
| inherited_from | \Smarty_Internal_Data::$$template_class |
|---|
$tpl_vars : array
| inherited_from | \Smarty_Internal_Data::$$tpl_vars |
|---|