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.4/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: 1.1 $

Methods


Child classes:

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.
ActionUpload
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.
HTML_QuickForm_Action_Direct
This action allows to go to a specific page of a multipage form.
HTML_QuickForm_Action_Jump
The action handles the HTTP redirect to a specific page.
HTML_QuickForm_Action_Back
The action for a 'back' button of wizard-type multipage form.
HTML_QuickForm_Action_Display
This action handles the output of the form.
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.

Inherited Variables

Inherited Methods


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.
  • Author: Alexey Borzov <avb@php.net>
  • Version: $Revision: 1.1 $


[ Top ]


Method Detail

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.
  • Access: public

Overridden in child classes as:

ActionProcess::perform()
ActionUpload::perform()
HTML_QuickForm_Action_Direct::perform()
HTML_QuickForm_Action_Jump::perform()
HTML_QuickForm_Action_Back::perform()
PageSecondActionBack::perform()
PageThirdActionBack::perform()
HTML_QuickForm_Action_Display::perform()
HTML_QuickForm_Action_Next::perform()
PageFirstActionNext::perform()
PageSecondActionNext::perform()
HTML_QuickForm_Action_Submit::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 Mon, 11 Mar 2019 14:10:16 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.