Template
class Template
Template Class
Properties
protected | $themeCode | ||
protected | $pageTitle | ||
protected | $pageHeading | ||
protected | $pageButtons | ||
$blocks |
Methods
string
getBlock(string $name, string $default = null)
Returns the layout block contents but does not deletes the block from memory.
appendBlock(string $name, string $contents)
Appends a content of the layout block.
setBlock(string $name, string $contents)
Sets a content of the layout block.
getTheme()
No description
getTitle()
No description
getHeading()
No description
getButtonList()
No description
setTitle($title)
No description
setHeading($heading)
No description
setButton($name, array $attributes = [])
No description
Details
at line 30
string
getBlock(string $name, string $default = null)
Returns the layout block contents but does not deletes the block from memory.
at line 45
appendBlock(string $name, string $contents)
Appends a content of the layout block.
at line 60
setBlock(string $name, string $contents)
Sets a content of the layout block.
at line 65
getTheme()
No description
at line 70
getTitle()
No description
at line 75
getHeading()
No description
at line 80
getButtonList()
No description
at line 85
setTitle($title)
No description
at line 90
setHeading($heading)
No description
at line 100
setButton($name, array $attributes = [])
No description