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

Class: TabbedPage

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

Class Overview

HTML_QuickForm2_Controller_Page
   |
   --TabbedPage

Class representing a page of a multipage form


Author(s):

Version:

  • Release: 2.1.0

Methods


Child classes:

PageFoo
Class representing a page of a multipage form
PageBar
Class representing a page of a multipage form
PageBaz
Class representing a page of a multipage form

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 23]
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

addGlobalSubmit   [line 36]

void addGlobalSubmit( )

  • Access: protected

[ Top ]

addTabs   [line 25]

void addTabs( )

  • Access: protected

[ Top ]


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