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

Class: SimplePage

Source Location: /HTML_QuickForm2-2.0.2/docs/examples/controller/simple.php

Class Overview

HTML_QuickForm2_Controller_Page
   |
   --SimplePage

Class representing a page of a multipage form


Author(s):

Version:

  • Release: 2.0.2

Methods


Inherited Variables

Inherited Methods

Class: HTML_QuickForm2_Controller_Page

HTML_QuickForm2_Controller_Page::__construct()
Class constructor, accepts the form to wrap around
HTML_QuickForm2_Controller_Page::addHandler()
Adds a handler for a specific action
HTML_QuickForm2_Controller_Page::getButtonName()
Returns a name for a submit button that will invoke a specific action
HTML_QuickForm2_Controller_Page::getController()
Returns the controller owning this page
HTML_QuickForm2_Controller_Page::getForm()
Returns the form this page wraps around
HTML_QuickForm2_Controller_Page::handle()
Handles an action
HTML_QuickForm2_Controller_Page::populateForm()
Populates the form with the elements
HTML_QuickForm2_Controller_Page::populateFormOnce()
Wrapper around populateForm() ensuring that it is only called once
HTML_QuickForm2_Controller_Page::setController()
Sets the controller owning the page
HTML_QuickForm2_Controller_Page::setDefaultAction()
Sets the default action invoked on page-form submit
HTML_QuickForm2_Controller_Page::storeValues()
Stores the form values (and validation status) is session container

Class Details

[line 20]
Class representing a page of a multipage form

Unlike old HTML_QuickForm_Controller, this does not extend HTML_QuickForm2 but accepts an instance of that in the constructor. You need to create a subclass of this class and implement its populateForm() method.



[ Top ]


Method Detail

populateForm   [line 22]

void populateForm( )

  • Access: protected

Overrides HTML_QuickForm2_Controller_Page::populateForm() (Populates the form with the elements)
[ Top ]


Documentation generated on Sat, 28 Jun 2014 09:30:30 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.