Smarty_Internal_Data Klassenreferenz

Smarty_Internal_Data Klassenreferenz
Klassendiagramm für Smarty_Internal_Data:

Ö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()
 

Ausführliche Beschreibung

Definiert in Zeile 17 der Datei smarty_internal_data.php.

Dokumentation der Elementfunktionen

append (   $tpl_var,
  $value = null,
  $merge = false,
  $nocache = false 
)

appends values to template variables

Parameter
array | string$tpl_varthe template variable name(s)
mixed$valuethe value to append
boolean$mergeflag if array elements shall be merged
boolean$nocacheif true any output of this variable will be not cached
Rückgabe
Smarty_Internal_Data current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chaining

Definiert in Zeile 122 der Datei smarty_internal_data.php.

Benutzt getVariable().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

appendByRef (   $tpl_var,
$value,
  $merge = false 
)

appends values to template variables by reference

Parameter
string$tpl_varthe template variable name
mixed&$valuethe referenced value to append
boolean$mergeflag if array elements shall be merged
Rückgabe
Smarty_Internal_Data current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chaining

Definiert in Zeile 183 der Datei smarty_internal_data.php.

Wird benutzt von SmartyBC\append_by_ref().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

assign (   $tpl_var,
  $value = null,
  $nocache = false 
)

assigns a Smarty variable

Parameter
array | string$tpl_varthe template variable name(s)
mixed$valuethe value to assign
boolean$nocacheif true any output of this variable will be not cached
Rückgabe
Smarty_Internal_Data current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chaining

Definiert in Zeile 53 der Datei smarty_internal_data.php.

assignByRef (   $tpl_var,
$value,
  $nocache = false 
)

assigns values to template variables by reference

Parameter
string$tpl_varthe template variable name
$value
boolean$nocacheif true any output of this variable will be not cached
Rückgabe
Smarty_Internal_Data current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chaining

Definiert in Zeile 102 der Datei smarty_internal_data.php.

Wird benutzt von SmartyBC\assign_by_ref().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

assignGlobal (   $varname,
  $value = null,
  $nocache = false 
)

assigns a global Smarty variable

Parameter
string$varnamethe global variable name
mixed$valuethe value to assign
boolean$nocacheif true any output of this variable will be not cached
Rückgabe
Smarty_Internal_Data current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chaining

Definiert in Zeile 79 der Datei smarty_internal_data.php.

Benutzt Smarty\$global_tpl_vars.

clearAllAssign ( )

clear all the assigned template variables.

Rückgabe
Smarty_Internal_Data current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chaining

Definiert in Zeile 277 der Datei smarty_internal_data.php.

Wird benutzt von SmartyBC\clear_all_assign().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

clearAssign (   $tpl_var)

clear the given assigned template variable.

Parameter
string | array$tpl_varthe template variable(s) to clear
Rückgabe
Smarty_Internal_Data current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chaining

Definiert in Zeile 259 der Datei smarty_internal_data.php.

Wird benutzt von SmartyBC\clear_assign().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

clearConfig (   $varname = null)

Deassigns a single or all config variables

Parameter
string$varnamevariable name or null
Rückgabe
Smarty_Internal_Data current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chaining

Definiert in Zeile 372 der Datei smarty_internal_data.php.

Benutzt Smarty_Internal_Extension_Config\clearConfig().

Wird benutzt von SmartyBC\clear_config().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

configLoad (   $config_file,
  $sections = null 
)

load a config file, optionally load just selected sections

Parameter
string$config_filefilename
mixed$sectionsarray of section names, single section or null
Rückgabe
Smarty_Internal_Data current Smarty_Internal_Data (or Smarty or Smarty_Internal_Template) instance for chaining

Definiert in Zeile 292 der Datei smarty_internal_data.php.

Benutzt Smarty_Internal_Extension_Config\configLoad().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

getConfigVariable (   $variable,
  $error_enable = true 
)

gets a config variable

Parameter
string$variablethe name of the config variable
bool$error_enable
Rückgabe
mixed the value of the config variable

Definiert in Zeile 347 der Datei smarty_internal_data.php.

Benutzt Smarty_Internal_Extension_Config\getConfigVariable().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

getConfigVars (   $varname = null,
  $search_parents = true 
)

Returns a single or all config variables

Parameter
string$varnamevariable name or null
bool$search_parents
Rückgabe
string variable value or or array of variables

Definiert in Zeile 360 der Datei smarty_internal_data.php.

Benutzt Smarty_Internal_Extension_Config\getConfigVars().

Wird benutzt von SmartyBC\get_config_vars().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

getStreamVariable (   $variable)

gets a stream variable

Parameter
string$variablethe stream of the variable
Ausnahmebehandlung
SmartyException
Rückgabe
mixed the value of the stream variable

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

Parameter
string$varnamevariable name or null
object$_ptroptional pointer to data object
boolean$search_parentsinclude parent templates?
Rückgabe
string variable value or or array of variables

Definiert in Zeile 213 der Datei smarty_internal_data.php.

Benutzt Smarty\$global_tpl_vars und getVariable().

Wird benutzt von SmartyBC\get_template_vars().

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

getVariable (   $variable,
  $_ptr = null,
  $search_parents = true,
  $error_enable = true 
)

gets the object of a Smarty variable

Parameter
string$variablethe name of the Smarty variable
object$_ptroptional pointer to data object
boolean$search_parentssearch also in parent data
bool$error_enable
Rückgabe
object the object of the variable

Definiert in Zeile 309 der Datei smarty_internal_data.php.

Benutzt Smarty\$global_tpl_vars.

Wird benutzt von append() und getTemplateVars().

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

Dokumentation der Datenelemente

$template_class = 'Smarty_Internal_Template'

Definiert in Zeile 24 der Datei smarty_internal_data.php.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei:




Korrekturen, Hinweise und Ergänzungen

Bitte scheuen Sie sich nicht und melden Sie, was auf dieser Seite sachlich falsch oder irreführend ist, was ergänzt werden sollte, was fehlt usw. Dazu bitte oben aus dem Menü Seite den Eintrag Support Forum wählen. Es ist eine kostenlose Anmeldung erforderlich, um Anmerkungen zu posten. Unpassende Postings, Spam usw. werden kommentarlos entfernt.