Moodle  2.2.1
http://www.collinsharper.com
QuickformElement Class Reference

Public Member Functions

 isType ($type)
 notFrozen ()
 isButton ()
 outputStyle ()

Data Fields

 $name
 $value
 $type
 $frozen
 $label
 $required
 $error
 $style
 $html
 $separator
 $elements

Detailed Description

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.


Member Function Documentation

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.

XXX: why does it use Flexy when all other stuff here does not depend on it?

Definition at line 423 of file Object.php.


Field Documentation

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.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations