Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Public Attributes | List of all members
gradereport_singleview\local\ui\override Class Reference

An override grade checkbox element. More...

Inheritance diagram for gradereport_singleview\local\ui\override:
gradereport_singleview\local\ui\grade_attribute_format gradereport_singleview\local\ui\be_checked gradereport_singleview\local\ui\be_disabled gradereport_singleview\local\ui\attribute_format gradereport_singleview\local\ui\unique_name

Public Member Functions

 __toString ()
 Convert this to an element and then to a string. More...
 
 determine_format ()
 Generate the element for this form input. More...
 
 get_label ()
 Get the label for this form element. More...
 
 get_name ()
 Get a unique name for this form input. More...
 
 is_checked ()
 Is this input checked. More...
 
 is_disabled ()
 Is this input disabled. More...
 
 set ($value)
 Save the modified value of this form element. More...
 

Public Attributes

grade_grade $grade
 $grade The grade_grade of the input
 
string $label
 $label The label of the input
 
string $name = 'override'
 $name The name for this input
 

Detailed Description

An override grade checkbox element.

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

Member Function Documentation

◆ __toString()

gradereport_singleview\local\ui\attribute_format::__toString ( )
inherited

Convert this to an element and then to a string.

Return values
string

◆ determine_format()

gradereport_singleview\local\ui\override::determine_format ( )

Generate the element for this form input.

Return values
element

Reimplemented from gradereport_singleview\local\ui\attribute_format.

◆ get_label()

gradereport_singleview\local\ui\override::get_label ( )

Get the label for this form element.

Return values
string

◆ get_name()

gradereport_singleview\local\ui\grade_attribute_format::get_name ( )
inherited

Get a unique name for this form input.

Return values
stringThe form input name attribute.

Implements gradereport_singleview\local\ui\unique_name.

◆ is_checked()

gradereport_singleview\local\ui\override::is_checked ( )

Is this input checked.

Return values
bool

Implements gradereport_singleview\local\ui\be_checked.

◆ is_disabled()

gradereport_singleview\local\ui\override::is_disabled ( )

Is this input disabled.

Return values
bool

Implements gradereport_singleview\local\ui\be_disabled.

◆ set()

gradereport_singleview\local\ui\override::set (   $value)

Save the modified value of this form element.

Parameters
string$valueThe new value to set
Return values
mixedstring|false Any error message

Reimplemented from gradereport_singleview\local\ui\grade_attribute_format.


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