|
MediaWiki
REL1_19
|
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 852 of file Xml.php.
References $default, 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 924 of file Xml.php.
References $default, $options, Xml\option(), and Html\rawElement().
Referenced by getHTML().


| XmlSelect::getAttribute | ( | $ | name | ) |
Definition at line 942 of file Xml.php.
References $options, formatOptions(), and Html\rawElement().

| XmlSelect::setAttribute | ( | $ | name, |
| $ | value | ||
| ) |
| $name | string |
| $value |
Definition at line 877 of file Xml.php.
Referenced by __construct().

| XmlSelect::setDefault | ( | $ | default | ) |
XmlSelect::$default = false [protected] |
Definition at line 849 of file Xml.php.
Referenced by __construct(), formatOptions(), and setDefault().
XmlSelect::$options = array() [protected] |
Definition at line 848 of file Xml.php.
Referenced by addOptions(), formatOptions(), and getHTML().