|
Moodle
2.2.1
http://www.collinsharper.com
|
Public Member Functions | |
| isType ($type) | |
| notFrozen () | |
| isButton () | |
| outputStyle () | |
Data Fields | |
| $name | |
| $value | |
| $type | |
| $frozen | |
| $label | |
| $required | |
| $error | |
| $style | |
| $html | |
| $separator | |
| $elements | |
Convenience class describing a form element. The properties defined here will be available from your flexy templates by referencing {form.zip.label:h}, {form.zip.html:h}, etc.
Definition at line 336 of file Object.php.
| isButton | ( | ) |
Definition at line 414 of file Object.php.
| isType | ( | $ | type | ) |
Definition at line 404 of file Object.php.
| notFrozen | ( | ) |
Definition at line 409 of file Object.php.
| outputStyle | ( | ) |
XXX: why does it use Flexy when all other stuff here does not depend on it?
Definition at line 423 of file Object.php.
| array $elements |
If element is a group, an array of subelements
Definition at line 402 of file Object.php.
| string $error |
Error associated with the element
Definition at line 378 of file Object.php.
| boolean $frozen |
Whether the element is frozen
Definition at line 360 of file Object.php.
| string $html |
HTML for the element
Definition at line 390 of file Object.php.
| string $label |
Label for the element
Definition at line 366 of file Object.php.
| string $name |
Element name
Definition at line 342 of file Object.php.
| boolean $required |
Whether element is required
Definition at line 372 of file Object.php.
| mixed $separator |
If element is a group, the group separator
Definition at line 396 of file Object.php.
| string $style |
Some information about element style
Definition at line 384 of file Object.php.
| string $type |
Type of element
Definition at line 354 of file Object.php.
| mixed $value |
Element value
Definition at line 348 of file Object.php.