Viewable
interface Viewable
Interface that ensures compliance with \Tfish\View\Single.
Methods
string
pageTitle()
Return the page title.
setPageTitle(string $pageTitle)
Set the page title.
setTemplate(string $template)
Set the template for this page view.
string
theme()
Return the active theme for this page view.
setTheme(string $theme)
Set the theme for this page view.
array
metadata()
Return metadata overrides for this page view.
setMetadata(array $metadata)
Set metadata overrides for this page view.
Details
at line 36
string
pageTitle()
Return the page title.
at line 43
setPageTitle(string $pageTitle)
Set the page title.
at line 50
Template
template()
Return the template name for this page view.
at line 57
setTemplate(string $template)
Set the template for this page view.
at line 64
string
theme()
Return the active theme for this page view.
at line 71
setTheme(string $theme)
Set the theme for this page view.
at line 78
array
metadata()
Return metadata overrides for this page view.
at line 85
setMetadata(array $metadata)
Set metadata overrides for this page view.