Runtime Extension Capture
Methods | ||||||||
---|---|---|---|---|---|---|---|---|
public
|
open(Smarty_Internal_Template $_template, string $buffer, string $assign, string $append)
Open capture section
Open capture section Parameters
|
# | ||||||
public
|
startRender(Smarty_Internal_Template $_template)
Start render callback
Start render callback |
# | ||||||
public
|
close(Smarty_Internal_Template $_template)
Close capture section
|
# | ||||||
public
|
error(Smarty_Internal_Template $_template)
Error exception on not matching {capture}{/capture}
|
# | ||||||
public
|
getBuffer(Smarty_Internal_Template $_template, string|null $name = null): string|string[]|null
Return content of named capture buffer by key or as array
Return content of named capture buffer by key or as array |
# | ||||||
public
|
endRender(Smarty_Internal_Template $_template)
End render callback
|
# |
Properties | |||
---|---|---|---|
public
|
bool
|
$isPrivateExtension = true
|
# |