Class Smarty_Internal_Block
Smarty {block} tag class
Package: Smarty\PluginsInternal
Author: Uwe Tews
Located at tpl/smarty/sysplugins/smarty_internal_block.php
Author: Uwe Tews
Located at tpl/smarty/sysplugins/smarty_internal_block.php
Methods summary
public
|
#
__construct( string $name, integer|null $tplIndex )
Smarty_Internal_Block constructor. - if outer level {block} of child template ($state == 1) save it as child root block - otherwise process inheritance and render |
public
|
Properties summary
public
string
|
$name
Block name |
#
''
|
public
boolean
|
$hide
Hide attribute |
#
false
|
public
boolean
|
$append
Append attribute |
#
false
|
public
boolean
|
$prepend
prepend attribute |
#
false
|
public
boolean
|
$callsChild
Block calls {$smarty.block.child} |
#
false
|
public
|
$child
Inheritance child block |
#
null
|
public
|
$parent
Inheritance calling parent block |
#
null
|
public
integer
|
$tplIndex
Inheritance Template index |
#
0
|