initialize()
initialize()
Initialize response headers
Blog controller
blogAction()
Blog view action, by default accepts URLs in the form of:
blog/SLUGReturns the following items to the view:
Looks for templates in the following order:
viewAction()
Post view action, by default accepts URLs in the form of:
blog/BLOG/YYYY/MM/SLUGblog/BLOG/SLUGReturns the following items to the view:
Looks for templates in the following order:
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 |