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

Class: PageSecond

Source Location: /HTML_QuickForm2-2.1.0/docs/examples/controller/wizard.php

Class Overview

HTML_QuickForm2_Controller_Page
   |
   --PageSecond

Class representing a page of a multipage form


Author(s):

Version:

  • Release: 2.1.0

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 40]
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 42]

void populateForm( )

  • Access: protected

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


Documentation generated on Wed, 10 Apr 2019 08:56:11 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.