TEMPLATE_404
TEMPLATE_404
The defaut administration controller. Basically, display the login form if user is not yet logged in, or back-office home page if the user is logged in.
render(mixed $templateName, array $args) : \Symfony\Component\HttpFoundation\Response
Render the givent template, and returns the result as an Http Response.
| mixed | $templateName | the complete template name, with extension |
| array | $args | the template arguments |
renderRaw(mixed $templateName, array $args) : \Symfony\Component\HttpFoundation\Response
Render the given template, and returns the result as a string.
| mixed | $templateName | the complete template name, with extension |
| array | $args | the template arguments |
getParserContext( $context) : \Thelia\Core\Template\ParserContext
Return the parser context,
| $context |
dispatch(string $eventName, \Thelia\Core\Event\ActionEvent $event)
Dispatch a Thelia event to modules
| string | $eventName | a TheliaEvent name, as defined in TheliaEvents class |
| \Thelia\Core\Event\ActionEvent | $event | the event |
forward(string $controller, array $path, array $query) : \Symfony\Component\HttpFoundation\Response
Forwards the request to another controller.
| string | $controller | The controller name (a string like BlogBundle:Post:index) |
| array | $path | An array of path parameters |
| array | $query | An array of query parameters |
A Response instance