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

Class: HTML_QuickForm2_Controller_Action_Display

Source Location: /HTML_QuickForm2-2.0.0/HTML/QuickForm2/Controller/Action/Display.php

Class Overview


Action handler for outputting the form


Author(s):

Version:

  • Release: 2.0.0

Methods


Child classes:

WizardDisplay
Action handler for outputting the form
TabbedDisplay
Action handler for outputting the form
SimpleDisplay
Action handler for outputting the form

Inherited Variables

Inherited Methods


Class Details

[line 66]
Action handler for outputting the form

If you want to customize the form display, subclass this class and override the renderForm() method, you don't need to change the perform() method.



[ Top ]


Method Detail

perform   [line 69]

void perform( HTML_QuickForm2_Controller_Page $page, $name)

  • Access: public

Parameters:

HTML_QuickForm2_Controller_Page   $page     
   $name     

[ Top ]

renderForm   [line 114]

void renderForm( HTML_QuickForm2 $form)

Outputs the form

Default behaviour is to rely on form's __toString() magic method. If you want to customize form appearance or use a different Renderer, you should override this method.

  • Access: protected

Overridden in child classes as:

WizardDisplay::renderForm()
TabbedDisplay::renderForm()
SimpleDisplay::renderForm()

Parameters:

HTML_QuickForm2   $form     

[ Top ]


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