Listable
interface Listable
Interface that ensures compliance with \Tfish\View\Listing.
Methods
Set primary field to sort query results by.
Set primary sort order.
Set secondary field to sort query results by.
Set secondary sort order.
Count results matching query conditions.
Return the query limit (number of results to retrieve).
Return the query offset (starting position to retrieve results from result set).
Return tag filter.
Returns extra parameters used to filter queries.
Return the page title.
Set the page title.
Set the template for this page view.
Return the active theme for this page view.
Set the theme for this page view.
Return metadata overrides for this page view.
Set metadata overrides for this page view.
Details
at line 38
setOrder(string $field)
Set primary field to sort query results by.
at line 45
setOrderType(string $order)
Set primary sort order.
at line 52
setSecondaryOrder(string $field)
Set secondary field to sort query results by.
at line 59
setSecondaryOrderType(string $secondaryOrder)
Set secondary sort order.
at line 68
int
contentCount()
Count results matching query conditions.
at line 75
int
limit()
Return the query limit (number of results to retrieve).
at line 82
int
start()
Return the query offset (starting position to retrieve results from result set).
at line 91
int
tag()
Return tag filter.
The ID of the tag being used to filter the result set, if any.
at line 98
array
extraParams()
Returns extra parameters used to filter queries.
Also used to build pagination controls.
at line 107
string
pageTitle()
Return the page title.
at line 114
setPageTitle(string $pageTitle)
Set the page title.
at line 121
Template
template()
Return the template name for this page view.
at line 128
setTemplate(string $template)
Set the template for this page view.
at line 135
string
theme()
Return the active theme for this page view.
at line 142
setTheme(string $theme)
Set the theme for this page view.
at line 149
array
metadata()
Return metadata overrides for this page view.
at line 156
setMetadata(array $metadata)
Set metadata overrides for this page view.