Smarty_Internal_SmartyTemplateCompiler Klassenreferenz

Smarty_Internal_SmartyTemplateCompiler Klassenreferenz
Klassendiagramm für Smarty_Internal_SmartyTemplateCompiler:
Zusammengehörigkeiten von Smarty_Internal_SmartyTemplateCompiler:

Öffentliche Methoden

 __construct ($lexer_class, $parser_class, $smarty)
 
- Öffentliche Methoden geerbt von Smarty_Internal_TemplateCompilerBase
 __construct ()
 
 compileTemplate (Smarty_Internal_Template $template, $nocache=null, $parent_compiler=null)
 
 compileTag ($tag, $args, $parameter=array())
 
 compileVariable ($variable)
 
 processText ($text)
 
 callTagCompiler ($tag, $args, $param1=null, $param2=null, $param3=null)
 
 getPlugin ($plugin_name, $plugin_type)
 
 getPluginFromDefaultHandler ($tag, $plugin_type)
 
 appendCode ($left, $right)
 
 processNocacheCode ($content, $is_code)
 
 makeNocacheCode ($code)
 
 pushTrace ($file, $uid, $line, $debug=true)
 
 popTrace ()
 
 trigger_template_error ($args=null, $line=null)
 

Datenfelder

 $lexer_class
 
 $parser_class
 
 $lex
 
 $parser
 
 $local_var = array()
 
- Datenfelder geerbt von Smarty_Internal_TemplateCompilerBase
 $smarty = null
 
 $nocache_hash = null
 
 $suppressNocacheProcessing = false
 
 $_tag_stack = array()
 
 $template = null
 
 $mergedSubTemplatesData = array()
 
 $mergedSubTemplatesCode = array()
 
 $templateProperties = array()
 
 $sources = array()
 
 $inheritance = false
 
 $inheritance_child = false
 
 $extends_uid = array()
 
 $trace_line_offset = 0
 
 $trace_uid = ''
 
 $trace_filepath = ''
 
 $trace_stack = array()
 
 $default_handler_plugins = array()
 
 $default_modifier_list = null
 
 $forceNocache = false
 
 $suppressHeader = false
 
 $suppressTemplatePropertyHeader = false
 
 $suppressFilter = false
 
 $write_compiled_code = true
 
 $compiles_template_function = false
 
 $called_functions = array()
 
 $templateFunctionCode = ''
 
 $php_handling = 0
 
 $modifier_plugins = array()
 
 $known_modifier_type = array()
 
 $parent_compiler = null
 
 $nocache = false
 
 $tag_nocache = false
 
 $abort_and_recompile = false
 
 $prefix_code = array()
 
 $prefixCodeStack = array()
 
 $has_code = false
 
 $has_variable_string = false
 
 $has_output = false
 
 $stripRegEx = '![\t ]*[\r\n]+[\t ]*!'
 

Geschützte Methoden

 doCompile ($_content, $isTemplateSource=false)
 
- Geschützte Methoden geerbt von Smarty_Internal_TemplateCompilerBase
 doCompile ($_content)
 

Weitere Geerbte Elemente

- Statische öffentliche Attribute geerbt von Smarty_Internal_TemplateCompilerBase
static $_tag_objects = array()
 

Ausführliche Beschreibung

Definiert in Zeile 22 der Datei smarty_internal_smartytemplatecompiler.php.

Beschreibung der Konstruktoren und Destruktoren

__construct (   $lexer_class,
  $parser_class,
  $smarty 
)

Initialize compiler

Parameter
string$lexer_classclass name
string$parser_classclass name
Smarty$smartyglobal instance

Definiert in Zeile 66 der Datei smarty_internal_smartytemplatecompiler.php.

Benutzt $lexer_class, $parser_class und Smarty_Internal_TemplateCompilerBase\$smarty.

Dokumentation der Elementfunktionen

doCompile (   $_content,
  $isTemplateSource = false 
)
protected

method to compile a Smarty template

Parameter
mixed$_contenttemplate source
Rückgabe
bool true if compiling succeeded, false if it failed

Definiert in Zeile 82 der Datei smarty_internal_smartytemplatecompiler.php.

Benutzt Smarty_Internal_TemplateCompilerBase\$abort_and_recompile, Smarty_Internal_Templatelexer\CHILDBODY und Smarty_Internal_TemplateCompilerBase\trigger_template_error().

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

Dokumentation der Datenelemente

$lex

Definiert in Zeile 43 der Datei smarty_internal_smartytemplatecompiler.php.

$lexer_class

Definiert in Zeile 29 der Datei smarty_internal_smartytemplatecompiler.php.

Wird benutzt von __construct().

$local_var = array()

Definiert in Zeile 57 der Datei smarty_internal_smartytemplatecompiler.php.

$parser

Definiert in Zeile 50 der Datei smarty_internal_smartytemplatecompiler.php.

$parser_class

Definiert in Zeile 36 der Datei smarty_internal_smartytemplatecompiler.php.

Wird benutzt von __construct().


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.