WACT_CONTROLLERS
[ class tree: WACT_CONTROLLERS ] [ index: WACT_CONTROLLERS ] [ all elements ]

Class: FormController

Source Location: /framework/controller/form.inc.php

Class Overview

Controller
   |
   --FormController

Variables

Methods


Inherited Variables

Inherited Methods

Class: Controller

Controller::Controller()
Constructor
Controller::addChild()
Add a child controller
Controller::addView()
Add a single mapping
Controller::attachToParent()
Part of the protocol whereby a controller is added to the tree of controllers
Controller::dispatchChild()
Controller::dispatchEvents()
Controller::forward()
Dispatch execution to the controller identified by the virtualPath
Controller::getChild()
Return an instance of the named child controller.
Controller::getRealPath()
Given a virtual path through the controller heirarchy, return an URL to address that controller.
Controller::handleRequest()
Receive the HTTP Request event and process it.
Controller::hasChild()
Does this controller have an immediate child of the specified name?
Controller::registerOnActivateListener()
register a listener to receive activation events
Controller::registerOnDeActivateListener()
register a listener to receive activation events
Controller::setDefaultChild()
Specify the default child controller by name
Controller::setDefaultView()
Register a View object handle with the Controller
Controller::start()
Begin the process of handling the current PHP request This method may only be called on the root controller of a tree of controllers.
Controller::triggerEvent()
Broadcast an event to listeners
Controller::_appendDispatchInfo()
Utility method used in getRealPath
Controller::_buildRealPath()
Recursive utility method used in getRealPath
Controller::_getDispatchName()
Given a request object, determine the name of the child component to dispatch the request to.

Class Details


Class Variables


$method = POST

Type:   mixed

$onLoadListeners = array()

Type:   mixed

$onPostBackListener = array()

Type:   mixed

$rules = array()

Indexed array of Rule objects
access:  private
see:  Rule
Type:   array

Class Methods


constructor FormController



FormController FormController( )

method addRule

Registers a Validation Rule

void addRule( Rule &$rule)

API Tags:

access:  public

Parameters:

Rule   &$rule  

method dispatchEvents



void dispatchEvents( mixed &$request, mixed &$responseModel)
Overrides Controller::dispatchEvents() (parent method not documented)

method isPostback



void isPostback( mixed &$request)

method postBackRestore



void postBackRestore( mixed &$request, mixed &$responseModel)

method registerOnLoadListener



void registerOnLoadListener( mixed &$listener)

method registerOnPostBackListener



void registerOnPostBackListener( mixed &$listener)

method _appendDispatchInfo



void _appendDispatchInfo( mixed &$pathFragment, mixed &$parameters, mixed $name)
Overrides Controller::_appendDispatchInfo() (Utility method used in getRealPath)

method _getDispatchName



void _getDispatchName( mixed &$request)
Overrides Controller::_getDispatchName() (Given a request object, determine the name of the child component to dispatch the request to.)
WACT: Copyright 2003 Procata, Inc. Released under the LGPL license (http://www.gnu.org/copyleft/lesser.html)
Documentation generated on Sun, 28 Nov 2004 19:46:42 -0800 by phpDocumentor 1.2.3