|
Previous Page |
Solar_App_Hello |
Next Page |
fetch()
public
Solar_Http_Response
fetch (
string $spec default NULL
)
Executes the requested action and returns its output with layout.
Inherited from Solar_Controller_Page.
Parameters
- (string)
$spec: The action specification string, for example, "tags/php+framework" or "user/pmjones/php+framework?page=3"
Returns
- (Solar_Http_Response) A response object with headers and body from the action, view, and layout.
Description
Executes the requested action and returns its output with layout.
If an exception is thrown during the fetch() process, it is caught and sent along to the _rescueException() method, which may generate and return alternative output.
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- __get()
- __set()
- _addViewHelpers()
- _addViewTemplates()
- _exception()
- _exceptionDuringFetch()
- _forward()
- _forwardActionMethod()
- _getActionFormat()
- _getActionMethod()
- _getActionView()
- _info()
- _isProcess()
- _load()
- _postAction()
- _postRender()
- _postRun()
- _preAction()
- _preRender()
- _preRun()
- _query()
- _redirect()
- _redirectNoCache()
- _render()
- _renderLayout()
- _renderView()
- _setContentType()
- _setLayoutTemplates()
- _setViewObject()
- _setup()
- actionIndex()
- apiVersion()
- display()
- dump()
- fetch()
- locale()
- setFrontController()