initialize()
initialize()
Initialize response headers
Error controller
indexAction( $message, $code = 404)
Handle the display of error messages
Returns the following to the view:
Looks for templates in the following order:
Then fails over to global templates:
| $message | ||
| $code |
terminateWithView(string $view, array $params = array(), array $headers = array())
Terminate the action with a view partial. Will dump output directly to browser, but return the action allowing process to continue.
| string | $view | path |
| array | $params | view params |
| array | $headers | optional headers |