|
Previous Class |
Solar_App_HelloApp |
Next Page |
Solar_App_HelloApp
Simple "hello world" application with actions, views, and localization.
Catalog
This class is part of the Solar_App package.
Inheritance:
- Solar_Base
- Solar_Controller_Page
- Solar_App_Base
- Solar_App_HelloApp
- Solar_App_Base
- Solar_Controller_Page
Constants
None.
Public Properties
These are all the public properties in the Solar_App_HelloApp class.
You can also view the list of all public, protected, and private properties.
$action- The current action for the contoller; populated from $this->_action.
$code- The requested locale code.
$controller- The name of this contoller; populated from $this->_name.
$errors- Error messages, usually for the 'error' action/view.
$layout- The name of the layout being used; populated from $this->_layout.
$layout_head- Values for the <head> block in the layout.
$layout_local- Local navigation links.
$layout_local_active- The currently-active local navigation link.
$layout_nav- Site navigation links.
$layout_nav_active- The currently-active site navigation link.
$list- The list of available locale codes.
$text- The translated text.
Public Methods
These are all the public methods in the Solar_App_HelloApp class.
You can also view the list of all public, protected, and private methods.
__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 a generic error page.
actionMain()- Resets to the requested locale code and shows translated output as an HTML file.
actionRss()- Resets to the requested locale code and shows translated output as an RSS file.
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.
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()
- actionError()
- actionMain()
- actionRss()
- apiVersion()
- display()
- dump()
- fetch()
- locale()
- setFrontController()