Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
UI Element for an excluded grade_grade. More...
Public Member Functions | |
__construct (string $name, string $value, string $label) | |
Constructor. | |
html () | |
Return the HTML. | |
is_checkbox () | |
Nasty function used for spreading checkbox logic all around. | |
is_dropdown () | |
Nasty function used for spreading dropdown logic all around. | |
is_textbox () | |
Nasty function used for spreading textbox logic all around. | |
Public Attributes | |
string | $label |
The form label for this input. | |
string | $name |
The first bit of the name for this input. | |
string | $value |
The value for this input. | |
UI Element for an excluded grade_grade.
gradereport_singleview\local\ui\element::__construct | ( | string | $name, |
string | $value, | ||
string | $label ) |
Constructor.
string | $name | The first bit of the name for this input |
string | $value | The value for this input |
string | $label | The label for this form field |
|
abstract |
Return the HTML.
string |
Reimplemented in gradereport_singleview\local\ui\bulk_insert, gradereport_singleview\local\ui\checkbox_attribute, gradereport_singleview\local\ui\dropdown_attribute, gradereport_singleview\local\ui\empty_element, and gradereport_singleview\local\ui\text_attribute.
gradereport_singleview\local\ui\element::is_checkbox | ( | ) |
Nasty function used for spreading checkbox logic all around.
bool |
Reimplemented in gradereport_singleview\local\ui\checkbox_attribute.
gradereport_singleview\local\ui\element::is_dropdown | ( | ) |
Nasty function used for spreading dropdown logic all around.
bool |
Reimplemented in gradereport_singleview\local\ui\dropdown_attribute.
gradereport_singleview\local\ui\element::is_textbox | ( | ) |
Nasty function used for spreading textbox logic all around.
bool |
Reimplemented in gradereport_singleview\local\ui\text_attribute.
string gradereport_singleview\local\ui\element::$label |
The form label for this input.
$label
string gradereport_singleview\local\ui\element::$name |
The first bit of the name for this input.
$name
string gradereport_singleview\local\ui\element::$value |
The value for this input.
$value