Class Smarty_Internal_Data
Base class with template and variable methods
Direct known subclasses
Smarty_Data
,
Smarty_Internal_Debug
,
Smarty_Internal_TemplateBase
Indirect known subclasses
Author: Uwe Tews
Located at tpl/smarty/sysplugins/smarty_internal_data.php
Methods summary
public
|
|
public
|
#
assign( array|string $tpl_var, mixed $value = null, boolean $nocache = false )
assigns a Smarty variable |
public
|
#
append( array|string $tpl_var, mixed $value = null, boolean $merge = false, boolean $nocache = false )
appends values to template variables |
public
|
#
assignGlobal( string $varName, mixed $value = null, boolean $nocache = false )
assigns a global Smarty variable |
public
|
#
appendByRef( string $tpl_var, mixed & $value, boolean $merge = false )
appends values to template variables by reference |
public
|
#
assignByRef( string $tpl_var, & $value, boolean $nocache = false )
assigns values to template variables by reference |
public
mixed
|
#
getTemplateVars( string $varName = null,
Returns a single or all template variables |
public
|
#
getVariable( string $variable = null,
gets the object of a Smarty variable |
public
|
#
_mergeVars(
Follow the parent chain an merge template and config variables |
public
mixed
|
Magic methods summary
public
mixed
|
|
public
mixed
|
|
public
mixed
|
|
public
|
|
public
|
|
public
|
|
public
|
Properties summary
public
integer
|
$_objType
This object type (Smarty = 1, template = 2, data = 4) |
#
4
|
public
string
|
$template_class
name of class used for templates |
#
'Smarty_Internal_Template'
|
public
|
$tpl_vars
template variables |
#
array()
|
public
|
$parent
parent template (if any) |
#
null
|
public
string[]
|
$config_vars
configuration settings |
#
array()
|
public
|
$ext
extension handler |
#
null
|
Magic properties
public
integer
|
$scope
The following methods will be dynamically loaded by the extension handler when they are called. They are located in a corresponding Smarty_Internal_Method_xxxx class |