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

Class: QuickformForm

Source Location: /HTML_QuickForm-3.2.3/QuickForm/Renderer/Object.php

Class Overview




Author(s):

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 253]
  • Abstract:

    Long Description This class represents the 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>

  • Public:


[ Top ]


Class Variables

$attributes =

[line 270]

Attributes for form tag

Type:   string


[ Top ]

$elements =

[line 298]

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

Set if there were validation errors.

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


Type:   object


[ Top ]

$frozen =

[line 258]

Whether the form has been frozen

Type:   boolean


[ Top ]

$hidden =

[line 282]

Collected html of all hidden variables

Type:   string


[ Top ]

$javascript =

[line 264]

Javascript for client-side validation

Type:   string


[ Top ]

$requirednote =

[line 276]

Note about required elements

Type:   string


[ Top ]

$sections =

[line 304]

Array of sections contained in the document

Type:   array


[ Top ]



Method Detail

outputHeader   [line 311]

string outputHeader( )

Output &lt;form&gt; header

{form.outputHeader():h}

  • Return: &lt;form attributes&gt;

[ Top ]

outputJavaScript   [line 320]

string outputJavaScript( )

Output form javascript

{form.outputJavaScript():h}

  • Return: Javascript

[ Top ]


Documentation generated on Mon, 11 Mar 2019 13:52:22 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.