Smarty_Template_Source Klassenreferenz

Smarty_Template_Source Klassenreferenz
Klassendiagramm für Smarty_Template_Source:

Öffentliche Methoden

 __construct (Smarty_Resource $handler, Smarty $smarty, $resource, $type, $name)
 
 renderUncompiled (Smarty_Internal_Template $_template)
 
 __set ($property_name, $value)
 
 __get ($property_name)
 

Öffentliche, statische Methoden

static load (Smarty_Internal_Template $_template=null, Smarty $smarty=null, $template_resource=null)
 

Datenfelder

 $compiler_class = null
 
 $template_lexer_class = null
 
 $template_parser_class = null
 
 $uid = null
 
 $resource = null
 
 $type = null
 
 $name = null
 
 $unique_resource = null
 
 $filepath = null
 
 $basename = null
 
 $components = null
 
 $handler = null
 
 $smarty = null
 
 $isConfig = false
 
 $uncompiled = false
 
 $recompiled = false
 
 $compileds = array()
 

Ausführliche Beschreibung

Definiert in Zeile 15 der Datei smarty_template_source.php.

Beschreibung der Konstruktoren und Destruktoren

__construct ( Smarty_Resource  $handler,
Smarty  $smarty,
  $resource,
  $type,
  $name 
)

create Source Object container

Parameter
Smarty_Resource$handlerResource Handler this source object communicates with
Smarty$smartySmarty instance this source object belongs to
string$resourcefull template_resource
string$typetype of resource
string$nameresource name

Definiert in Zeile 143 der Datei smarty_template_source.php.

Benutzt $handler, $name, $resource, $smarty und $type.

Dokumentation der Elementfunktionen

__get (   $property_name)

<<magic>> Generic getter.

Parameter
string$property_namevalid: timestamp, exists, content
Rückgabe
mixed
Ausnahmebehandlung
SmartyExceptionif $property_name is not valid

Definiert in Zeile 269 der Datei smarty_template_source.php.

__set (   $property_name,
  $value 
)

<<magic>> Generic Setter.

Parameter
string$property_namevalid: timestamp, exists, content, template
mixed$valuenew value (is not checked)
Ausnahmebehandlung
SmartyExceptionif $property_name is not valid

Definiert in Zeile 244 der Datei smarty_template_source.php.

static load ( Smarty_Internal_Template  $_template = null,
Smarty  $smarty = null,
  $template_resource = null 
)
static

initialize Source Object for given resource Either [$_template] or [$smarty, $template_resource] must be specified

Parameter
Smarty_Internal_Template$_templatetemplate object
Smarty$smartysmarty object
string$template_resourceresource identifier
Rückgabe
Smarty_Template_Source Source Object
Ausnahmebehandlung
SmartyException

Definiert in Zeile 170 der Datei smarty_template_source.php.

Benutzt $name, $resource, $smarty, $type, $unique_resource, Smarty_Internal_Extension_DefaultTemplateHandler\_getDefault(), Smarty_Resource\load() und Smarty_Resource\parseResourceName().

Wird benutzt von Smarty_Internal_Template\loadSource() und Smarty_Resource\source().

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

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

renderUncompiled ( Smarty_Internal_Template  $_template)

render the uncompiled source

Parameter
Smarty_Internal_Template$_templatetemplate object

Definiert in Zeile 220 der Datei smarty_template_source.php.

Dokumentation der Datenelemente

$basename = null

Definiert in Zeile 84 der Datei smarty_template_source.php.

$compileds = array()

Definiert in Zeile 130 der Datei smarty_template_source.php.

$compiler_class = null

Definiert in Zeile 22 der Datei smarty_template_source.php.

$components = null

Definiert in Zeile 91 der Datei smarty_template_source.php.

$filepath = null

Definiert in Zeile 78 der Datei smarty_template_source.php.

$handler = null

Definiert in Zeile 98 der Datei smarty_template_source.php.

Wird benutzt von Smarty_Template_Config\__construct() und __construct().

$isConfig = false

Definiert in Zeile 111 der Datei smarty_template_source.php.

$recompiled = false

Definiert in Zeile 124 der Datei smarty_template_source.php.

$resource = null
$smarty = null
$template_lexer_class = null

Definiert in Zeile 29 der Datei smarty_template_source.php.

$template_parser_class = null

Definiert in Zeile 36 der Datei smarty_template_source.php.

$uid = null

Definiert in Zeile 43 der Datei smarty_template_source.php.

$uncompiled = false

Definiert in Zeile 117 der Datei smarty_template_source.php.

$unique_resource = null

Definiert in Zeile 71 der Datei smarty_template_source.php.

Wird benutzt von load().


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.