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

Class: QuickformForm

Source Location: /main/inc/lib/pear/HTML/QuickForm/Renderer/Object.php

Class Overview


Convenience class for the form object passed to outputObject()


Variables

Methods


Child classes:

QuickformFlexyForm
Adds nothing to QuickformForm, left for backwards compatibility

Class Details

[line 254]
Convenience class for the form object passed to outputObject()

Eg. {form.outputJavaScript():h} {form.outputHeader():h} <table> <tr> <td>{form.name.label:h}</td><td>{form.name.html:h}</td> </tr> </table> </form>




[ Top ]


Class Variables

$attributes =

[line 272]

Attributes for form tag


Type:   string


[ Top ]

$elements =

[line 300]

Array of QuickformElementObject elements. If there are headers in the form

this will be empty and the elements will be in the separate sections



Type:   array


[ Top ]

$errors =

[line 292]

Set if there were validation errors.

StdClass object with element names for keys and their error messages as values



Type:   object


[ Top ]

$frozen =

[line 260]

Whether the form has been frozen


Type:   boolean


[ Top ]

$hidden =

[line 284]

Collected html of all hidden variables


Type:   string


[ Top ]

$javascript =

[line 266]

Javascript for client-side validation


Type:   string


[ Top ]

$requirednote =

[line 278]

Note about required elements


Type:   string


[ Top ]

$sections =

[line 306]

Array of sections contained in the document


Type:   array


[ Top ]



Class Methods


method outputHeader [line 313]

string outputHeader( )

Output &lt;form&gt; header

{form.outputHeader():h}




Tags:

return:  &lt;form attributes&gt;


[ Top ]

method outputJavaScript [line 323]

string outputJavaScript( )

Output form javascript

{form.outputJavaScript():h}




Tags:

return:  Javascript


[ Top ]


Documentation generated on Thu, 12 Jun 2008 14:07:44 -0500 by phpDocumentor 1.4.1