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

Class: PageFoo

Source Location: /HTML_QuickForm2-2.0.0/docs/examples/controller/tabbed.php

Class Overview

HTML_QuickForm2_Controller_Page
   |
   --TabbedPage
      |
      --PageFoo

Class representing a page of a multipage form


Author(s):

Version:

  • Release: 2.0.0

Methods


Inherited Variables

Inherited Methods

Class: TabbedPage

TabbedPage::addGlobalSubmit()
TabbedPage::addTabs()

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 45]
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 47]

void populateForm( )

  • Access: protected

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


Documentation generated on Tue, 26 Jun 2012 15:30:31 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.