Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
tool_lp_course_competency_overridegrade_form_element Class Reference

Course competency override grade element. More...

Inheritance diagram for tool_lp_course_competency_overridegrade_form_element:
MoodleQuickForm_advcheckbox

Public Member Functions

 __construct ($elementname=null, $elementlabel=null, $options=[])
 Constructor.
 
 export_for_template (renderer_base $output)
 
 getFrozenHtml ()
 Returns the disabled field.
 
 getHelpButton ()
 get html for help button
 
 MoodleQuickForm_advcheckbox ($elementName=null, $elementLabel=null, $text=null, $attributes=null, $values=null)
 Old syntax of class constructor.
 
 toHtml ()
 Returns HTML for advchecbox form element.
 

Public Attributes

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.
 

Detailed Description

Course competency override grade element.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Constructor & Destructor Documentation

◆ __construct()

tool_lp_course_competency_overridegrade_form_element::__construct ( $elementname = null,
$elementlabel = null,
$options = [] )

Constructor.

Parameters
string$elementnameElement name
mixed$elementlabelLabel(s) for an element
array$optionsOptions to control the element's display

Member Function Documentation

◆ 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
string

◆ getHelpButton()

MoodleQuickForm_advcheckbox::getHelpButton ( )
inherited

get html for help button

Return values
stringhtml for help button

◆ MoodleQuickForm_advcheckbox()

MoodleQuickForm_advcheckbox::MoodleQuickForm_advcheckbox ( $elementName = null,
$elementLabel = null,
$text = null,
$attributes = null,
$values = null )
inherited

Old syntax of class constructor.

Deprecated in PHP7.

Deprecated
since Moodle 3.1

◆ toHtml()

MoodleQuickForm_advcheckbox::toHtml ( )
inherited

Returns HTML for advchecbox form element.

Return values
string

The documentation for this class was generated from the following file: