Smarty_Internal_Compile_Block Klassenreferenz

Klassendiagramm für Smarty_Internal_Compile_Block:
Zusammengehörigkeiten von Smarty_Internal_Compile_Block:

Öffentliche Methoden

 compile ($args, $compiler)
 
- Öffentliche Methoden geerbt von Smarty_Internal_CompileBase
 getAttributes ($compiler, $attributes)
 
 openTag ($compiler, $openTag, $data=null)
 
 closeTag ($compiler, $expectedTag)
 

Öffentliche, statische Methoden

static compileChildBlock ($compiler, $_name=null)
 
static compileParentBlock ($compiler, $_name=null)
 
static blockSource ($compiler, $source)
 

Datenfelder

const parent = '____SMARTY_BLOCK_PARENT____'
 
 $required_attributes = array('name')
 
 $shorttag_order = array('name')
 
 $option_flags = array('hide', 'append', 'prepend', 'nocache')
 
 $optional_attributes = array('internal_file', 'internal_uid', 'internal_line')
 
- Datenfelder geerbt von Smarty_Internal_CompileBase
 $required_attributes = array()
 
 $optional_attributes = array()
 
 $shorttag_order = array()
 
 $option_flags = array('nocache')
 

Statische öffentliche Attribute

static $nested_block_names = array()
 
static $block_data = array()
 

Ausführliche Beschreibung

Definiert in Zeile 18 der Datei smarty_internal_compile_block.php.

Dokumentation der Elementfunktionen

static blockSource (   $compiler,
  $source 
)
static

Process block source

Parameter
$compiler
string$sourcesource text

Definiert in Zeile 247 der Datei smarty_internal_compile_block.php.

Benutzt $block_data und $nested_block_names.

compile (   $args,
  $compiler 
)

Compiles code for the {block} tag

Parameter
array$argsarray with attributes from parser
object$compilercompiler object
Rückgabe
boolean true

Definiert in Zeile 75 der Datei smarty_internal_compile_block.php.

Benutzt Smarty_Internal_Templatelexer\CHILDBLOCK, Smarty_Internal_CompileBase\getAttributes() und Smarty_Internal_CompileBase\openTag().

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

static compileChildBlock (   $compiler,
  $_name = null 
)
static

Compile saved child block source

Parameter
object$compilercompiler object
string$_nameoptional name of child block
Rückgabe
string compiled code of child block

Definiert in Zeile 130 der Datei smarty_internal_compile_block.php.

Benutzt $block_data, $nested_block_names, Smarty_Internal_Templatelexer\CHILDBLOCK und Smarty_Internal_Debug\ignore().

Wird benutzt von Smarty_Internal_Compile_Blockclose\compile().

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

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

static compileParentBlock (   $compiler,
  $_name = null 
)
static

Compile $smarty.block.parent

Parameter
object$compilercompiler object
string$_nameoptional name of child block
Rückgabe
string compiled code of child block

Definiert in Zeile 217 der Datei smarty_internal_compile_block.php.

Benutzt $block_data, $nested_block_names, Smarty_Internal_Templatelexer\CHILDBLOCK und parent.

Dokumentation der Datenelemente

$block_data = array()
static
$nested_block_names = array()
static
$option_flags = array('hide', 'append', 'prepend', 'nocache')

Definiert in Zeile 44 der Datei smarty_internal_compile_block.php.

$optional_attributes = array('internal_file', 'internal_uid', 'internal_line')

Definiert in Zeile 52 der Datei smarty_internal_compile_block.php.

$required_attributes = array('name')

Definiert in Zeile 28 der Datei smarty_internal_compile_block.php.

$shorttag_order = array('name')

Definiert in Zeile 36 der Datei smarty_internal_compile_block.php.

const parent = '____SMARTY_BLOCK_PARENT____'

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.