Drop down list (select list) element.
More...
|
|
string | $label |
| | $label The form label for this input.
|
| |
|
string | $name |
| | $name The first bit of the name for this input.
|
| |
|
string | $value |
| | $value The value for this input.
|
| |
Drop down list (select list) element.
- Copyright
- 2014 Moodle Pty Ltd (http://moodle.com)
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
| gradereport_singleview\local\ui\dropdown_attribute::__construct |
( |
|
$name, |
|
|
|
$options, |
|
|
|
$label, |
|
|
|
$selected = '', |
|
|
|
$isdisabled = false |
|
) |
| |
Constructor.
- Parameters
-
| string | $name | The first bit of the name of this input. |
| array | $options | The options list for this select. |
| string | $label | The form label for this input. |
| string | $selected | The name of the selected item in this input. |
| bool | $isdisabled | Are we disabled? |
◆ html()
| gradereport_singleview\local\ui\dropdown_attribute::html |
( |
| ) |
|
◆ is_checkbox()
| gradereport_singleview\local\ui\element::is_checkbox |
( |
| ) |
|
|
inherited |
◆ is_dropdown()
| gradereport_singleview\local\ui\dropdown_attribute::is_dropdown |
( |
| ) |
|
◆ is_textbox()
| gradereport_singleview\local\ui\element::is_textbox |
( |
| ) |
|
|
inherited |
The documentation for this class was generated from the following file: