Method | Description | |
---|---|---|
after ( |
||
before ( |
The default before filter for the controllers in this file. | |
homepage ( |
Controller for the "Homepage" route. Usually the front page of the website. | |
listing ( |
The listing page controller. | |
preview ( |
The controller for previewing a content from posted data. | |
record ( |
Controller for a single record page, like '/page/about/' or '/entry/lorum'. | |
search ( |
The search result page controller. | |
taxonomy ( |
The taxonomy listing page controller. | |
template ( string $template ) : |
Renders the specified template from the current theme in response to a request without loading any content. |
Method | Description | |
---|---|---|
addRoutes ( Silex\ControllerCollection $c ) | ||
getConfigurationRoutes ( ) | ||
isTaxonomyValid ( |
Check if the taxonomy is valid. |
Method | Description | |
---|---|---|
getListingOrder ( array $contentType ) : null | string | Return the listing order. | |
getListingParameters ( string $contentTypeSlug ) : array | Returns an array of the parameters used in getContent for listing pages. |
protected addRoutes ( Silex\ControllerCollection $c ) | ||
$c | Silex\ControllerCollection |
public after ( |
||
$request | ||
$response |
public homepage ( |
||
$request | ||
return |