Comunitatea PHP Romania
 

 
HTML_QuickForm_Controller

HTML_QuickForm_Controller

Table of Contents
Introduction -- What is this package useful for
FAQ -- Understanding package features
Class Summary HTML_QuickForm_Controller -- The class implementing a 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.
Class Summary HTML_QuickForm_Page -- The class represents a page of a multipage form.
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.
Class Summary HTML_QuickForm_Action -- Class representing an action to perform on HTTP request.
Action::perform() -- Processes the request.
Class Summary HTML_QuickForm_Action_Back -- The action for a 'back' button of wizard-type multipage form.
Class Summary HTML_QuickForm_Action_Direct -- This action allows to go to a specific page of a multipage form.
Class Summary HTML_QuickForm_Action_Display -- This action handles the output of the form.
Class Summary HTML_QuickForm_Action_Jump -- The action handles the HTTP redirect to a specific page.
Class Summary HTML_QuickForm_Action_Next -- The action for a 'next' button of wizard-type multipage form.
Class Summary HTML_QuickForm_Action_Submit -- The action for a 'submit' button.

This is an add-on to HTML_QuickForm package that allows (among other things) to build multipage forms.

Cool features:

  • Includes several default Actions that allow easy building of multipage forms.

  • Includes usage examples for common usage cases (single-page form, wizard, tabbed form).

Ultimele discutii in forum RSS Forum

Ultimele articole Ultimele articole

Top membri

Pirahna Pirahna
la birou
carco carco
Bucuresti
Birkoff Birkoff
Bucuresti
mihaitha mihaitha
Sibiu
Mascka Mascka
Braila
gabysolomon gabysolomon
Bacau
whooper whooper
Toronto ON
raul_ raul_
dechim dechim
Drobeta Turnu Severin
Amenthes Amenthes

Newsletter


Email:
 inscriere
 renuntare
 
 Arhiva newsletter

Parteneriat

Copyright © 2001-2008 PHP Romania Add PHPRomania to Google Add PHPRomania to Del.icio.us Add PHPRomania to Stumbleupon Add PHPRomania to Yahoo! Add PHPRomania to Digg Add PHPRomania to Blink Fast Loans | Online Loans | Auto Loans | MPAA | Loans
Ads: Partener Way2Web Nework: gazduire web | inregistrare domenii | web design | imobiliare | web hosting
Powered by Simplis