|
MediaWiki
REL1_21
|
Public Member Functions | |
| __construct ($name=false, $id=false, $default=false) | |
| addOption ($name, $value=false) | |
| addOptions ($options) | |
| This accepts an array of form label => value label => ( label => value, label => value ) | |
| getAttribute ($name) | |
| getHTML () | |
| setAttribute ($name, $value) | |
| setDefault ($default) | |
Static Public Member Functions | |
| static | formatOptions ($options, $default=false) |
| This accepts an array of form label => value label => ( label => value, label => value ) | |
Protected Attributes | |
| $attributes = array() | |
| $default = false | |
| $options = array() | |
| XmlSelect::__construct | ( | $ | name = false, |
| $ | id = false, |
||
| $ | default = false |
||
| ) |
Definition at line 855 of file Xml.php.
References $default, $name, and setAttribute().
| XmlSelect::addOption | ( | $ | name, |
| $ | value = false |
||
| ) |
| XmlSelect::addOptions | ( | $ | options | ) |
| static XmlSelect::formatOptions | ( | $ | options, |
| $ | default = false |
||
| ) | [static] |
This accepts an array of form label => value label => ( label => value, label => value )
| $options | ||
| bool | $default |
Definition at line 927 of file Xml.php.
References $default, $options, $value, array(), as, Xml\option(), and Html\rawElement().
Referenced by getHTML().
| XmlSelect::getAttribute | ( | $ | name | ) |
Definition at line 945 of file Xml.php.
References $options, as, formatOptions(), options(), and Html\rawElement().
| XmlSelect::setAttribute | ( | $ | name, |
| $ | value | ||
| ) |
| XmlSelect::setDefault | ( | $ | default | ) |
Definition at line 852 of file Xml.php.
Referenced by __construct(), formatOptions(), and setDefault().
Definition at line 851 of file Xml.php.
Referenced by addOptions(), formatOptions(), and getHTML().