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

Class: HTML_QuickForm_Action

Source Location: /HTML_QuickForm_Controller-1.0.10/Action.php

Class Overview


Class representing an action to perform on HTTP request.


Author(s):

Version:

  • Release: 1.0.10

Methods


Child classes:

HTML_QuickForm_Action_Display
This action handles output of the form.
HTML_QuickForm_Action_Next
The action for a 'next' button of wizard-type multipage form.
HTML_QuickForm_Action_Jump
This action performs HTTP redirect to a specific page.
HTML_QuickForm_Action_Back
The action for a 'back' 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.
ActionUpload
Class representing an action to perform on HTTP request.
Class representing an action to perform on HTTP request.

Inherited Variables

Inherited Methods


Class Details

[line 37]
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: Alexey Borzov <avb@php.net>
  • Version: Release: 1.0.10
  • Abstract:


[ Top ]


Method Detail

perform   [line 50]

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

Processes the request. This method should be overriden by child classes to provide the necessary logic.
  • Abstract:
  • Throws: PEAR_Error
  • Access: public

Overridden in child classes as:

HTML_QuickForm_Action_Display::perform()
HTML_QuickForm_Action_Next::perform()
PageFirstActionNext::perform()
PageSecondActionNext::perform()
HTML_QuickForm_Action_Jump::perform()
HTML_QuickForm_Action_Back::perform()
PageSecondActionBack::perform()
PageThirdActionBack::perform()
HTML_QuickForm_Action_Submit::perform()
HTML_QuickForm_Action_Direct::perform()
ActionUpload::perform()
ActionProcess::perform()

Parameters:

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 Wed, 09 Dec 2015 22:45:40 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.