Base class with template and variable methodes
| package | Smarty |
|---|---|
| subpackage | Template |
append(array | string $tpl_var, mixed $value, boolean $merge, boolean $nocache) : \Smarty_Internal_Data
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
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
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
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
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
\Smarty_Internal_Datacurrent Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingclearAssign(string | array $tpl_var) : \Smarty_Internal_Data
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
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
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
stringthe name of the config variable
mixedthe value of the config variablegetConfigVars(string $varname, $search_parents) : string
stringvariable name or null
stringvariable value or or array of variablesgetStreamVariable(string $variable) : mixed
stringthe stream of the variable
mixedthe value of the stream variablegetTemplateVars(string $varname, string $_ptr, boolean $search_parents) : string
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
stringthe name of the Smarty variable
objectoptional pointer to data object
booleansearch also in parent data
objectthe object of the variable$config_vars : array
$parent : \Smarty_Internal_Template
$template_class : string
$tpl_vars : array