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

Class: QuickformForm

Source Location: /HTML_QuickForm-3.2.5/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

Inherited Variables

Inherited Methods


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 ]



Method Detail

outputHeader   [line 313]

string outputHeader( )

Output &lt;form&gt; header

{form.outputHeader():h}

  • Return: &lt;form attributes&gt;

[ Top ]

outputJavaScript   [line 323]

string outputJavaScript( )

Output form javascript

{form.outputJavaScript():h}

  • Return: Javascript

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:16:34 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.