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


Public Member Functions | |
| SimpleSelectionTag ($attributes) | |
| addTag (&$tag) | |
| addContent ($content) | |
| getDefault () | |
| setValue ($value) | |
| getValue () | |
Data Fields | |
| $_options | |
| $_choice | |
| addContent | ( | $ | content | ) |
| addTag | ( | &$ | tag | ) |
Adds an option tag to a selection field.
| SimpleOptionTag | $tag | New option. public |
Reimplemented from SimpleTag.
| getDefault | ( | ) |
Scans options for defaults. If none, then the first option is selected.
Reimplemented from SimpleWidget.
Definition at line 739 of file tag.php.


| getValue | ( | ) |
Accessor for current selection value.
Reimplemented from SimpleWidget.
Definition at line 773 of file tag.php.

| setValue | ( | $ | value | ) |
Can only set allowed values.
| string | $value | New choice. |
Reimplemented from SimpleWidget.
| SimpleSelectionTag | ( | $ | attributes | ) |