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

Class: HTML_QuickForm_Action

Source Location: /main/inc/lib/pear/HTML/QuickForm/Action.php

Class Overview


Class representing an action to perform on HTTP request. The Controller will select the appropriate Action to call on the request and call its perform() method. The subclasses of this class should implement all the necessary business logic.


Author(s):

Version:

  • $Revision: 6184 $

Methods


Child classes:

HTML_QuickForm_Action_Display
This action handles the output of the form.
HTML_QuickForm_Action_Jump
The action handles the HTTP redirect to a specific page.
HTML_QuickForm_Action_Next
The action for a 'next' button of wizard-type multipage form.
HTML_QuickForm_Action_Submit
The action for a 'submit' button.
HTML_QuickForm_Action_Direct
This action allows to go to a specific page of a multipage form.
HTML_QuickForm_Action_Back
The action for a 'back' button of wizard-type multipage form.
ActionProcess
Class for form processing Here happens the actual installation action after collecting all the required data.

Class Details

[line 32]
Class representing an action to perform on HTTP request. The Controller will select the appropriate Action to call on the request and call its perform() method. The subclasses of this class should implement all the necessary business logic.



Tags:

author:  Alexey Borzov <avb@php.net>
version:  $Revision: 6184 $
filesource:  Source Code for this file


[ Top ]


Class Methods


method perform [line 42]

void perform( object HTML_QuickForm_Page &$page, string $actionName)

Processes the request. This method should be overriden by child classes to provide the necessary logic.



Tags:

access:  public


Overridden in child classes as:

HTML_QuickForm_Action_Display::perform()
HTML_QuickForm_Action_Jump::perform()
HTML_QuickForm_Action_Next::perform()
HTML_QuickForm_Action_Submit::perform()
HTML_QuickForm_Action_Direct::perform()
HTML_QuickForm_Action_Back::perform()
ActionProcess::perform()

Parameters:

object HTML_QuickForm_Page   &$page   the current form-page
string   $actionName   Current action name, as one Action object can serve multiple actions

[ Top ]


Documentation generated on Thu, 12 Jun 2008 12:53:20 -0500 by phpDocumentor 1.4.1