Abstract class for a form element representing something about a grade_grade.
More...
|
| __construct ($grade=0) |
| Constructor.
|
|
| __toString () |
| Convert this to an element and then to a string.
|
|
| determine_format () |
| Used to convert this class to an "element" which can be converted to a string.
|
|
| get_name () |
| Get a unique name for this form input.
|
|
| set ($value) |
| Should be overridden by the child class to save the value returned in this input.
|
|
|
grade_grade | $grade |
| The grade_grade of the input $grade.
|
|
null string | $label |
| The label of the input $label.
|
|
string | $name |
| The first part of the name attribute of the form input $name.
|
|
Abstract class for a form element representing something about a grade_grade.
- 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\grade_attribute_format::__construct |
( |
| $grade = 0 | ) |
|
◆ __toString()
gradereport_singleview\local\ui\attribute_format::__toString |
( |
| ) |
|
|
inherited |
Convert this to an element and then to a string.
- Return values
-
◆ determine_format()
gradereport_singleview\local\ui\attribute_format::determine_format |
( |
| ) |
|
|
abstractinherited |
◆ get_name()
gradereport_singleview\local\ui\grade_attribute_format::get_name |
( |
| ) |
|
◆ set()
gradereport_singleview\local\ui\grade_attribute_format::set |
( |
| $value | ) |
|
|
abstract |
The documentation for this class was generated from the following file:
- grade/report/singleview/classes/local/ui/grade_attribute_format.php