|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| outputHeader () | |
| outputJavaScript () | |
Data Fields | |
| $frozen | |
| $javascript | |
| $attributes | |
| $requirednote | |
| $hidden | |
| $errors | |
| $elements | |
| $sections | |
Convenience class for the form object passed to outputObject()
Eg. {form.outputJavaScript():h} {form.outputHeader():h}
| {form.name.label:h} | {form.name.html:h} |
</form>
Definition at line 254 of file Object.php.
| outputHeader | ( | ) |
Output <form> header {form.outputHeader():h}
Definition at line 313 of file Object.php.
| outputJavaScript | ( | ) |
Output form javascript {form.outputJavaScript():h}
Definition at line 323 of file Object.php.
| string $attributes |
Attributes for form tag
Definition at line 272 of file Object.php.
| array $elements |
Array of QuickformElementObject elements. If there are headers in the form this will be empty and the elements will be in the separate sections
Definition at line 300 of file Object.php.
| object $errors |
Set if there were validation errors. StdClass object with element names for keys and their error messages as values
Definition at line 292 of file Object.php.
| boolean $frozen |
Whether the form has been frozen
Definition at line 260 of file Object.php.
| string $hidden |
Collected html of all hidden variables
Definition at line 284 of file Object.php.
| string $javascript |
Javascript for client-side validation
Definition at line 266 of file Object.php.
| string $requirednote |
Note about required elements
Definition at line 278 of file Object.php.
| array $sections |
Array of sections contained in the document
Definition at line 306 of file Object.php.