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

Class: HTML_QuickForm2_Controller_Action_Display

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

Class Overview


Action handler for outputting the form


Author(s):

Version:

  • Release: 2.1.0

Methods


Child classes:

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

Inherited Variables

Inherited Methods


Class Details

[line 42]
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 45]

void perform( HTML_QuickForm2_Controller_Page $page, $name)

  • Access: public

Parameters:

HTML_QuickForm2_Controller_Page   $page   — 
   $name   — 

[ Top ]

renderForm   [line 90]

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:

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

Parameters:

HTML_QuickForm2   $form   — 

[ Top ]


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