Methods
All methods in the Solar_App_Hello class.
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.
-
actionError() -
Shows application errors.
-
actionIndex() -
Action with no code at all; only passes to the view, with no layout.
-
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.
-
setController() -
Sets the name for this page-controller; generally used only by the front-controller when static routing leads to this page.
-
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.
-
_buildConfig() -
Builds and returns the default config for a class, including all configs inherited from its parents.
-
_csrfAttempt() -
Indicates this is a cross-site request forgery attempt.
-
_error() -
Adds an error message, then forwards to the 'error' action.
-
_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.
-
_fixAction() -
Fixes the requested $_action value based on the various properties available.
-
_fixFormat() -
Fixes the requested $_format value based on the various properties available.
-
_fixInfo() -
Fixes the $_info value based on the various properties available.
-
_fixLayout() -
Fixes the $_layout value based on the various properties available.
-
_fixViewObject() -
Sets the locale class for the getText helper, and adds special convenience variables, in $this->_view_object for rendering.
-
_forward() -
Forwards internally to another action, using pre- and post- action hooks, and resets $this->_view to the requested 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.
-
_loadInfoQueryFormat() -
Given an action specification, loads $_info, $_query, and $_format.
-
_notFound() -
Indicates an action (or other page) was not found.
-
_postAction() -
Executes after each action.
-
_postConfig() -
A hook that activates after _buildConfig() in the constructor.
-
_postConstruct() -
Post-construction tasks to complete object construction.
-
_postRender() -
Executes after rendering the controller view and layout.
-
_postRun() -
Executes after the last action.
-
_preAction() -
Executes before each action.
-
_preConfig() -
A hook that activates before _buildConfig() in the constructor.
-
_preRender() -
Executes before rendering the controller 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 controller and action, then calls exit(0).
-
_redirectNoCache() -
Redirects to another controller 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, but only if the response does not already have a Content-Type set.
-
_setLayoutTemplates() -
Resets $this->_view_object to use the Layout templates.
-
_setViewObject() -
Sets $this->_view_object for rendering.
-
_setup() -
Executes after construction.
Private
None.