A checkbox ui 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.
|
|
A checkbox ui 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\checkbox_attribute::__construct |
( |
|
$name, |
|
|
|
$label, |
|
|
|
$ischecked = false , |
|
|
|
$locked = 0 |
|
) |
| |
Constructor.
- Parameters
-
string | $name | The element name |
string | $label | The label for the form element |
bool | $ischecked | Is this thing on? |
int | $locked | Is this element locked either 0 or a time. |
◆ html()
gradereport_singleview\local\ui\checkbox_attribute::html |
( |
| ) |
|
◆ is_checkbox()
gradereport_singleview\local\ui\checkbox_attribute::is_checkbox |
( |
| ) |
|
◆ is_dropdown()
gradereport_singleview\local\ui\element::is_dropdown |
( |
| ) |
|
|
inherited |
◆ is_textbox()
gradereport_singleview\local\ui\element::is_textbox |
( |
| ) |
|
|
inherited |
The documentation for this class was generated from the following file: