Course competency override grade element.
More...
|
string | $_group |
| Group to which this checkbox belongs (for select all/select none button)
|
|
string | $_helpbutton ='' |
| html for help button, if empty then no help will icon will be dispalyed.
|
|
◆ __construct()
tool_lp_course_competency_overridegrade_form_element::__construct |
( |
| $elementname = null, |
|
|
| $elementlabel = null, |
|
|
| $options = [] ) |
Constructor.
- Parameters
-
string | $elementname | Element name |
mixed | $elementlabel | Label(s) for an element |
array | $options | Options to control the element's display |
◆ export_for_template()
MoodleQuickForm_advcheckbox::export_for_template |
( |
renderer_base | $output | ) |
|
|
inherited |
Function to export the renderer data in a format that is suitable for a mustache template.
This means:
- No complex types - only stdClass, array, int, string, float, bool
- Any additional info that is required for the template is pre-calculated (e.g. capability checks).
- Parameters
-
renderer_base | $output | Used to do a final render of any components that need to be rendered for export. |
- Return values
-
Implements templatable.
◆ getFrozenHtml()
MoodleQuickForm_advcheckbox::getFrozenHtml |
( |
| ) |
|
|
inherited |
Returns the disabled field.
Accessibility: the return "[ ]" from parent class is not acceptable for screenreader users, and we DO want a label.
- Return values
-
◆ getHelpButton()
MoodleQuickForm_advcheckbox::getHelpButton |
( |
| ) |
|
|
inherited |
get html for help button
- Return values
-
string | html for help button |
◆ MoodleQuickForm_advcheckbox()
MoodleQuickForm_advcheckbox::MoodleQuickForm_advcheckbox |
( |
| $elementName = null, |
|
|
| $elementLabel = null, |
|
|
| $text = null, |
|
|
| $attributes = null, |
|
|
| $values = null ) |
|
inherited |
◆ toHtml()
MoodleQuickForm_advcheckbox::toHtml |
( |
| ) |
|
|
inherited |
Returns HTML for advchecbox form element.
- Return values
-
The documentation for this class was generated from the following file:
- admin/tool/lp/classes/course_competency_overridegrade_form_element.php