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

Class: QuickformForm

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

Class Overview


Convenience class for the form object passed to outputObject()


Author(s):

Version:

  • Release: 3.2.14

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

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

Eg.

 {form.outputJavaScript():h}
 {form.outputHeader():h}
   
{form.name.label:h}{form.name.html:h}

  • Author: Ron McClain <ron@humaniq.com>
  • Version: Release: 3.2.14
  • Since: 3.1.1


[ Top ]


Class Variables

$attributes =

[line 294]

Attributes for form tag

Type:   string


[ Top ]

$elements =

[line 322]

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

Set if there were validation errors.

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


Type:   object


[ Top ]

$frozen =

[line 282]

Whether the form has been frozen

Type:   boolean


[ Top ]

$hidden =

[line 306]

Collected html of all hidden variables

Type:   string


[ Top ]

$javascript =

[line 288]

Javascript for client-side validation

Type:   string


[ Top ]

$requirednote =

[line 300]

Note about required elements

Type:   string


[ Top ]

$sections =

[line 328]

Array of sections contained in the document

Type:   array


[ Top ]



Method Detail

outputHeader   [line 335]

string outputHeader( )

Output &lt;form&gt; header

{form.outputHeader():h}

  • Return: &lt;form attributes&gt;

[ Top ]

outputJavaScript   [line 345]

string outputJavaScript( )

Output form javascript

{form.outputJavaScript():h}

  • Return: Javascript

[ Top ]


Documentation generated on Thu, 20 Nov 2014 16:00:17 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.