Öffentliche Methoden | |
assign ($tpl_var, $value=null, $nocache=false) | |
assignGlobal ($varname, $value=null, $nocache=false) | |
assignByRef ($tpl_var, &$value, $nocache=false) | |
append ($tpl_var, $value=null, $merge=false, $nocache=false) | |
appendByRef ($tpl_var, &$value, $merge=false) | |
getTemplateVars ($varname=null, $_ptr=null, $search_parents=true) | |
clearAssign ($tpl_var) | |
clearAllAssign () | |
configLoad ($config_file, $sections=null) | |
getVariable ($variable, $_ptr=null, $search_parents=true, $error_enable=true) | |
getConfigVariable ($variable, $error_enable=true) | |
getConfigVars ($varname=null, $search_parents=true) | |
clearConfig ($varname=null) | |
getStreamVariable ($variable) | |
Datenfelder | |
$template_class = 'Smarty_Internal_Template' | |
$tpl_vars = array() | |
$parent = null | |
$config_vars = array() | |
Definiert in Zeile 17 der Datei smarty_internal_data.php.
append | ( | $tpl_var, | |
$value = null , |
|||
$merge = false , |
|||
$nocache = false |
|||
) |
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 |
Definiert in Zeile 122 der Datei smarty_internal_data.php.
Benutzt getVariable().
appendByRef | ( | $tpl_var, | |
& | $value, | ||
$merge = false |
|||
) |
appends values to template variables by reference
string | $tpl_var | the template variable name |
mixed | &$value | the referenced value to append |
boolean | $merge | flag if array elements shall be merged |
Definiert in Zeile 183 der Datei smarty_internal_data.php.
Wird benutzt von SmartyBC\append_by_ref().
assign | ( | $tpl_var, | |
$value = null , |
|||
$nocache = false |
|||
) |
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 |
Definiert in Zeile 53 der Datei smarty_internal_data.php.
assignByRef | ( | $tpl_var, | |
& | $value, | ||
$nocache = false |
|||
) |
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 |
Definiert in Zeile 102 der Datei smarty_internal_data.php.
Wird benutzt von SmartyBC\assign_by_ref().
assignGlobal | ( | $varname, | |
$value = null , |
|||
$nocache = false |
|||
) |
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 |
Definiert in Zeile 79 der Datei smarty_internal_data.php.
Benutzt Smarty\$global_tpl_vars.
clearAllAssign | ( | ) |
clear all the assigned template variables.
Definiert in Zeile 277 der Datei smarty_internal_data.php.
Wird benutzt von SmartyBC\clear_all_assign().
clearAssign | ( | $tpl_var) |
clear the given assigned template variable.
string | array | $tpl_var | the template variable(s) to clear |
Definiert in Zeile 259 der Datei smarty_internal_data.php.
Wird benutzt von SmartyBC\clear_assign().
clearConfig | ( | $varname = null ) |
Deassigns a single or all config variables
string | $varname | variable name or null |
Definiert in Zeile 372 der Datei smarty_internal_data.php.
Benutzt Smarty_Internal_Extension_Config\clearConfig().
Wird benutzt von SmartyBC\clear_config().
configLoad | ( | $config_file, | |
$sections = null |
|||
) |
load a config file, optionally load just selected sections
string | $config_file | filename |
mixed | $sections | array of section names, single section or null |
Definiert in Zeile 292 der Datei smarty_internal_data.php.
Benutzt Smarty_Internal_Extension_Config\configLoad().
getConfigVariable | ( | $variable, | |
$error_enable = true |
|||
) |
gets a config variable
string | $variable | the name of the config variable |
bool | $error_enable |
Definiert in Zeile 347 der Datei smarty_internal_data.php.
Benutzt Smarty_Internal_Extension_Config\getConfigVariable().
getConfigVars | ( | $varname = null , |
|
$search_parents = true |
|||
) |
Returns a single or all config variables
string | $varname | variable name or null |
bool | $search_parents |
Definiert in Zeile 360 der Datei smarty_internal_data.php.
Benutzt Smarty_Internal_Extension_Config\getConfigVars().
Wird benutzt von SmartyBC\get_config_vars().
getStreamVariable | ( | $variable) |
gets a stream variable
string | $variable | the stream of the variable |
SmartyException |
Definiert in Zeile 385 der Datei smarty_internal_data.php.
getTemplateVars | ( | $varname = null , |
|
$_ptr = null , |
|||
$search_parents = true |
|||
) |
Returns a single or all template variables
string | $varname | variable name or null |
object | $_ptr | optional pointer to data object |
boolean | $search_parents | include parent templates? |
Definiert in Zeile 213 der Datei smarty_internal_data.php.
Benutzt Smarty\$global_tpl_vars und getVariable().
Wird benutzt von SmartyBC\get_template_vars().
getVariable | ( | $variable, | |
$_ptr = null , |
|||
$search_parents = true , |
|||
$error_enable = true |
|||
) |
gets the object of a Smarty variable
string | $variable | the name of the Smarty variable |
object | $_ptr | optional pointer to data object |
boolean | $search_parents | search also in parent data |
bool | $error_enable |
Definiert in Zeile 309 der Datei smarty_internal_data.php.
Benutzt Smarty\$global_tpl_vars.
Wird benutzt von append() und getTemplateVars().
$config_vars = array() |
Definiert in Zeile 42 der Datei smarty_internal_data.php.
Wird benutzt von Smarty_Internal_Debug\get_debug_vars(), Smarty_Internal_Template\render() und Smarty_Internal_Template\setupSubTemplate().
$parent = null |
Definiert in Zeile 36 der Datei smarty_internal_data.php.
Wird benutzt von Smarty_Internal_TemplateBase\createData(), Smarty\createTemplate(), Smarty\display(), Smarty\fetch(), Smarty_Internal_Debug\get_debug_vars(), Smarty_Internal_Template\getScope(), Smarty_Internal_Template\getScopePointer() und Smarty_Internal_TemplateBase\isCached().
$template_class = 'Smarty_Internal_Template' |
Definiert in Zeile 24 der Datei smarty_internal_data.php.
$tpl_vars = array() |
Definiert in Zeile 30 der Datei smarty_internal_data.php.
Wird benutzt von Smarty_Internal_Debug\get_debug_vars(), Smarty_Internal_Template\render() und Smarty_Internal_Template\setupSubTemplate().