|
Previous Page |
Solar_App_Hello |
Next Page |
Properties
Public
None.
Protected
$_action
(string) The action being requested of (performed by) the page controller.
Inherited from Solar_Controller_Page.
$_action_default
(string) Default action.
Inherited from Solar_Controller_Page.
$_action_format
(array) Tells which alternative output formats are supported by which actions.
Inherited from Solar_Controller_Page.
Array format is 'action' => array('format', 'format', 'format').
If an action is not listed, it will not respond to alternative formats.
For example ...
<?php
$_action_format = array(
// multiple formats
'browse' => array('xml', 'rss', 'atom')
// shorthand for just one format
'read' => 'xml',
);
?>
$_charset
(string) The character set to use when setting the Content-Type header.
Inherited from Solar_Controller_Page.
$_config
(array) Collection point for configuration values.
Inherited from Solar_Base.
Note that you do not define config defaults in $_config directly.
<?php
// DO NOT DO THIS
protected $_config = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
Instead, define config defaults in a protected property named for the class, withan underscore prefix.
For exmple, a "Vendor_Class_Name" class would define the default config array in "$_Vendor_Class_Name". This convention lets child classes inherit parent config keys and values.
<?php
// DO THIS INSTEAD
protected $_Vendor_Class_Name = array(
'foo' => 'bar',
'baz' => 'dib',
);
?>
$_format
(string) Use this output format for views.
Inherited from Solar_Controller_Page.
For example, say the action is "read". In the default case, the format is empty, so the _render() method will look for a view named "read.php". However, if the format is "xml", the _render() method will look for a view named "read.xml.php".
Has no effect on the layout script that _render() looks for.
$_format_default
(string) What is the default output format?
Inherited from Solar_Controller_Page.
$_format_type
(array) Maps format name keys to Content-Type values.
Inherited from Solar_Controller_Page.
When $this->_format matches one of the keys, the controller will set the matching Content-Type header automatically in the response object.
$_front
(Solar_Controller_Front) The front-controller object (if any) that invoked this page-controller.
Inherited from Solar_Controller_Page.
$_helper_class
(array) These helper classes will be added in the middle of the stack, between the Solar_View_Helper final fallbacks and the vendor+app specific helpers.
Inherited from Solar_Controller_Page.
$_info
(array) Request parameters collected from the URI pathinfo.
Inherited from Solar_Controller_Page.
$_layout
(string) The name of the layout to be rendered.
Inherited from Solar_Controller_Page.
$_layout_var
(string) The name of the variable where page content is placed in the layout.
Inherited from Solar_Controller_Page.
Default is 'layout_content'.
$_name
(string) The short-name of this page controller.
Inherited from Solar_Controller_Page.
$_process_key
(string) Name of the form element that holds the process request value (such as 'Save', 'Next', 'Cancel', etc) Default is 'process', as in $_POST['process'] or $_GET['process'].
Inherited from Solar_Controller_Page.
$_query
(string) Request parameters collected from the URI query string.
Inherited from Solar_Controller_Page.
$_request
(Solar_Request) Request environment details: get, post, etc.
Inherited from Solar_Controller_Page.
$_response
(Solar_Http_Response) The response object with headers and body.
Inherited from Solar_Controller_Page.
$_session
(Solar_Session) Session data, including read-once flashes.
Inherited from Solar_Controller_Page.
$_view
(string) The name of the view to be rendered.
Inherited from Solar_Controller_Page.
$_view_class
(string) The class used for view objects.
Inherited from Solar_Controller_Page.
$_view_object
(Solar_View) The object used for rendering views and layouts.
Inherited from Solar_Controller_Page.
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()
- actionIndex()
- apiVersion()
- display()
- dump()
- fetch()
- locale()
- setFrontController()