|
Previous Page |
Solar_Controller_Page |
Next Page |
Methods
Public
__construct()- Constructor.
__destruct()- Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
__get()- Try to force users to define what their view variables are.
__set()- Try to force users to define what their view variables are.
apiVersion()- Reports the API version for this class.
display()- Executes the requested action and displays its output.
dump()- Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
fetch()- Executes the requested action and returns its output with layout.
locale()- Looks up class-specific locale strings based on a key.
setFrontController()- Injects the front-controller object that invoked this page-controller.
Protected
_addViewHelpers()- Adds to the helper-class stack on a view object.
_addViewTemplates()- Adds template paths to $this->_view_object.
_exception()- Convenience method for returning exceptions with localized text.
_exceptionDuringFetch()- When an exception is thrown during the fetch() process, use this method to recover from it.
_forward()- Forwards internally to another action, using pre- and post- action hooks, and resets $this->_view to the requested action.
_forwardActionMethod()- Executes when _forward() cannot find a method for the current action.
_getActionFormat()- Returns the allowed format list for a given action.
_getActionMethod()- Returns the method name for an action.
_getActionView()- Returns the view name for an action.
_info()- Retrieves the TAINTED value of a path-info parameter by position.
_isProcess()- Whether or not user requested a specific process within the action.
_load()- Loads properties from an action specification.
_postAction()- Executes after each action.
_postRender()- Executes after rendering the page view and layout.
_postRun()- Executes after the last action.
_preAction()- Executes before each action.
_preRender()- Executes before rendering the page view and layout.
_preRun()- Executes before the first action.
_query()- Retrieves the TAINTED value of a query request key by name.
_redirect()- Redirects to another page and action, then calls exit(0).
_redirectNoCache()- Redirects to another page and action after disabling HTTP caching.
_render()- Sets the response body based on the view, including layout, with pre- and post-rendering logic.
_renderLayout()- Uses $this->_view_object to render the layout into $this->_response.
_renderView()- Uses $this->_view_object to render the view into $this->_response.
_setContentType()- Sets a Content-Type header in the response based on $this->_format.
_setLayoutTemplates()- Resets $this->_view_object to use the Layout templates.
_setViewObject()- Sets $this->_view_object for rendering.
_setup()- Executes after construction.
Private
None.
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()
- apiVersion()
- display()
- dump()
- fetch()
- locale()
- setFrontController()