HTML_QuickForm_Controller

Inhaltsverzeichnis
Einführung -- Was ist der Zweck des Packages
FAQ -- Understanding package features
Klassenübersicht HTML_QuickForm_Controller -- Implementierung des PageController-Pattern.
constructor HTML_QuickForm_Controller() -- Class constructor.
Controller::addAction() -- Registers a handler for a specific action.
Controller::addPage() -- Adds a new page to the form
Controller::applyDefaults() -- Sets the default values for the given page
Controller::container() -- Returns a reference to the form's values container.
Controller::exportValue() -- Returns the element's value
Controller::exportValues() -- Returns the form's values
Controller::findInvalid() -- Finds the (first) invalid page
Controller::getActionName() -- Finds the names of the current page and the current action.
Controller::getNextName() -- Returns the name of the page after the given.
Controller::getPage() -- Returns a page
Controller::getPrevName() -- Returns the name of the page before the given.
Controller::handle() -- Handles an action.
Controller::isModal() -- Checks whether the form is modal.
Controller::isValid() -- Checks whether the pages of the controller are valid
Controller::run() -- Processes the request.
Controller::setConstants() -- Initializes constant form values.
Controller::setDefaults() -- Initializes default form values.
KlassenübersichtHTML_QuickForm_Page -- Diese Klasse stellt eine Seite eines mehrseitigen Formulars dar.
constructor HTML_QuickForm_Page() -- Class constructor
Page::addAction() -- Registers a handler for a specific action.
Page::buildForm() -- Builds a form.
Page::getButtonName() -- Returns a name for a submit button that will invoke a specific action.
Page::handle() -- Handles an action.
Page::isFormBuilt() -- Checks whether the form was already built.
Page::loadValues() -- Loads the submit values from the array.
Page::setDefaultAction() -- Sets the default action invoked on page-form submit.
Klassenübersicht für HTML_QuickForm_Action -- Die Klasse steht für eine Aktion, die durch einen HTTP-Request veranlasst wird.
Action::perform() -- Processes the request.
Klassenübersicht HTML_QuickForm_Action_Back -- Die Aktion für den 'Zurück'-Buttons für wizard-ähnliche, mehrseitige Formulare.
Klassenübersicht HTML_QuickForm_Action_Direct -- Diese Aktion erlaubt es, auf eine gewählte Seite eines mehrseitigen Formulars zu gehen.
Klassenübersicht HTML_QuickForm_Action_Display -- Diese Aktion behandelt die Ausgabe des Formulars.
Klassenübersicht HTML_QuickForm_Action_Jump -- Diese Aktion behandelt HTTP-Weiterleitungen zu einer bestimmten Seite.
Klassenübersicht HTML_QuickForm_Action_Next -- Die Aktion für den 'Weiter'-Button für wizard-ähnliche, mehrseitige Formulare.
Klassenübersicht HTML_QuickForm_Action_Submit -- Aktion für einen 'Submit'-Button.

Dieses Package ist eine Erweiterung für das HTML_QuickForm-Package, das den Aufbau mehrseitiger Formulare und vieles mehr erlaubt.

Herausragende Funktionen: