Smarty {block} tag class
Methods | ||||||
---|---|---|---|---|---|---|
public
|
__construct(string $name, int|null $tplIndex)
Smarty_Internal_Block constructor.
- if outer level {block} of child template ($state === 1) save it as child root…
Smarty_Internal_Block constructor.
Parameters
|
# | ||||
public
|
callBlock(Smarty_Internal_Template $tpl)
Compiled block code overloaded by {block} class
Compiled block code overloaded by {block} class |
# |
Properties | |||
---|---|---|---|
public
|
string
|
$name = ''
|
# |
public
|
bool
|
$hide = false
|
# |
public
|
bool
|
$append = false
|
# |
public
|
bool
|
$prepend = false
|
# |
public
|
bool
|
$callsChild = false
|
# |
public
|
Smarty_Internal_Block|null
|
$child = null
|
# |
public
|
Smarty_Internal_Block|null
|
$parent = null
|
# |
public
|
int
|
$tplIndex = 0
|
# |