|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| SimpleWidget ($name, $attributes) | |
| getName () | |
| getDefault () | |
| getValue () | |
| setValue ($value) | |
| resetValue () | |
| setLabel ($label) | |
| isLabel ($label) | |
| write (&$encoding) | |
Data Fields | |
| $_value | |
| $_label | |
| $_is_set | |
| getDefault | ( | ) |
Accessor for default value parsed with the tag.
Reimplemented in SimpleCheckboxTag, SimpleRadioButtonTag, SimpleOptionTag, MultipleSelectionTag, SimpleSelectionTag, and SimpleTextAreaTag.
Definition at line 264 of file tag.php.


| getName | ( | ) |
| getValue | ( | ) |
Accessor for currently set value or default if none.
Reimplemented in MultipleSelectionTag, and SimpleSelectionTag.
Definition at line 275 of file tag.php.


| isLabel | ( | $ | label | ) |
Reads external or internal label.
| string | $label | Label to test. |
Reimplemented in SimpleButtonTag, SimpleImageSubmitTag, and SimpleSubmitTag.
| resetValue | ( | ) |
| setLabel | ( | $ | label | ) |
| setValue | ( | $ | value | ) |
Sets the current form element value.
| string | $value | New value. |
Reimplemented in SimpleCheckboxTag, SimpleRadioButtonTag, SimpleOptionTag, MultipleSelectionTag, SimpleSelectionTag, SimpleTextAreaTag, SimpleButtonTag, SimpleImageSubmitTag, SimpleSubmitTag, and SimpleTextTag.
| SimpleWidget | ( | $ | name, |
| $ | attributes | ||
| ) |
| write | ( | &$ | encoding | ) |
Dispatches the value into the form encoded packet.
| SimpleEncoding | $encoding | Form packet. public |
Reimplemented in SimpleUploadTag.
Definition at line 328 of file tag.php.
