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
array
string
the template variable name(s)
mixed
the value to append
boolean
flag if array elements shall be merged
boolean
if true any output of this variable will be not cached
\Smarty_Internal_Data
current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingappendByRef(string $tpl_var, mixed $value, boolean $merge) : \Smarty_Internal_Data
string
the template variable name
mixed
&$value the referenced value to append
boolean
flag if array elements shall be merged
\Smarty_Internal_Data
current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingassign(array | string $tpl_var, mixed $value, boolean $nocache) : \Smarty_Internal_Data
array
string
the template variable name(s)
mixed
the value to assign
boolean
if true any output of this variable will be not cached
\Smarty_Internal_Data
current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingassignByRef(string $tpl_var, $value, boolean $nocache) : \Smarty_Internal_Data
string
the template variable name
boolean
if true any output of this variable will be not cached
\Smarty_Internal_Data
current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingassignGlobal(string $varname, mixed $value, boolean $nocache) : \Smarty_Internal_Data
string
the global variable name
mixed
the value to assign
boolean
if true any output of this variable will be not cached
\Smarty_Internal_Data
current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingclearAllAssign() : \Smarty_Internal_Data
\Smarty_Internal_Data
current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingclearAssign(string | array $tpl_var) : \Smarty_Internal_Data
string
array
the template variable(s) to clear
\Smarty_Internal_Data
current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingclearConfig(string $varname) : \Smarty_Internal_Data
string
variable name or null
\Smarty_Internal_Data
current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chainingconfigLoad(string $config_file, mixed $sections) : \Smarty_Internal_Data
string
filename
mixed
array of section names, single section or null
\Smarty_Internal_Data
current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chaininggetConfigVariable(string $variable, $error_enable) : mixed
string
the name of the config variable
mixed
the value of the config variablegetConfigVars(string $varname, $search_parents) : string
string
variable name or null
string
variable value or or array of variablesgetStreamVariable(string $variable) : mixed
string
the stream of the variable
mixed
the value of the stream variablegetTemplateVars(string $varname, string $_ptr, boolean $search_parents) : string
string
variable name or null
string
optional pointer to data object
boolean
include parent templates?
string
variable value or or array of variablesgetVariable(string $variable, object $_ptr, boolean $search_parents, $error_enable) : object
string
the name of the Smarty variable
object
optional pointer to data object
boolean
search also in parent data
object
the object of the variable$config_vars : array
$parent : \Smarty_Internal_Template
$template_class : string
$tpl_vars : array