Object | --ActionController
Located in File: Program_Root/ActionController.php
The ActionController class represents the controller in the Model-View-Controller (MVC) design pattern. The ActionController receives and processes all requests that change the state of the application. Generally, a "Model2" application is architected as follows:
phrame$Id: ActionController.html,v 1.1.1.1 2002/11/19 16:47:22 arcano Exp $Arnold Cano| Class Variable Summary |
$_actionForms
Default Value:
|
$_actionMappings
Default Value:
|
$_actions
Default Value:
|
$_options
Default Value:
|
| Inherited Class Variable Summary |
| Inherited Method Summary | ||||||||
Inherited From Class Object
|
| Method Summary |
void constructor ActionController ( $options )
|
void process ( $mappings, $request )
|
ActionForward _processAction ( $actionMapping, $actionForm )
|
ActionForm _processForm ( $mappings, $request )
|
void _processForward ( $actionForward )
|
ActionMapping _processMapping ( $mappings, $request )
|
boolean _processValidate ( $actionMapping, $actionForm )
|
| Variable Detail |
| Method Detail |
void constructor ActionController ( $options )
Create a ActionController specifying the options.
- array $options: publicvoid process ( $mappings, $request )
Process the request.
- array $mappings: - array $request: publicActionForward _processAction ( $actionMapping, $actionForm )
Ask the specified Action instance to handle this request.
- ActionMapping $actionMapping: - ActionForm $actionForm: privateActionForm _processForm ( $mappings, $request )
Identify and optionally return an appropriate populated ActionForm.
- array $mappings: - array $request: privatevoid _processForward ( $actionForward )
Forward to the specified destination.
- ActionForward $actionForward: privateActionMapping _processMapping ( $mappings, $request )
Identify and return an appropriate ActionMapping.
- array $mappings: - array $request: privateboolean _processValidate ( $actionMapping, $actionForm )
Call the validate() method of the specified ActionForm.
- ActionMapping $actionMapping: - ActionForm $actionForm: private