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


Public Member Functions | |
| MultipleSelectionTag ($attributes) | |
| addTag (&$tag) | |
| addContent ($content) | |
| getDefault () | |
| setValue ($desired) | |
| getValue () | |
Data Fields | |
| $_options | |
| $_values | |
| 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 to populate the value array().
Reimplemented from SimpleWidget.
Definition at line 826 of file tag.php.


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

| MultipleSelectionTag | ( | $ | attributes | ) |
| setValue | ( | $ | desired | ) |
Can only set allowed values. Any illegal value will result in a failure, but all correct values will be set.
| array | $desired | New choices. |
Reimplemented from SimpleWidget.