Convenience class to create guide criterion.
More...
|
| __construct (string $shortname, string $description, string $descriptionmarkers, float $maxscore) |
| Constructor for this test_criterion object.
|
|
| get_all_values (int $sortorder) |
| Get all values in an array for use when creating a new guide.
|
|
| get_description () |
| Get the description for this criterion.
|
|
| get_descriptionmarkers () |
| Get the description for markers of this criterion.
|
|
| get_maxscore () |
| Get the maxscore for this criterion.
|
|
| get_shortname () |
| Get the shortname for this criterion.
|
|
Convenience class to create guide criterion.
- Copyright
- 2018 Adrian Greeve <adriangreeve.com>
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
tests\gradingform_guide\generator\criterion::__construct |
( |
string | $shortname, |
|
|
string | $description, |
|
|
string | $descriptionmarkers, |
|
|
float | $maxscore ) |
Constructor for this test_criterion object.
- Parameters
-
string | $shortname | The shortname for the criterion |
string | $description | The description for the criterion |
string | $descriptionmarkers | The description for the marker for this criterion |
float | $maxscore | The maximum score possible for this criterion |
◆ get_all_values()
tests\gradingform_guide\generator\criterion::get_all_values |
( |
int | $sortorder | ) |
|
Get all values in an array for use when creating a new guide.
- Parameters
-
- Return values
-
◆ get_description()
tests\gradingform_guide\generator\criterion::get_description |
( |
| ) |
|
Get the description for this criterion.
- Return values
-
◆ get_descriptionmarkers()
tests\gradingform_guide\generator\criterion::get_descriptionmarkers |
( |
| ) |
|
Get the description for markers of this criterion.
- Return values
-
◆ get_maxscore()
tests\gradingform_guide\generator\criterion::get_maxscore |
( |
| ) |
|
Get the maxscore for this criterion.
- Return values
-
◆ get_shortname()
tests\gradingform_guide\generator\criterion::get_shortname |
( |
| ) |
|
Get the shortname for this criterion.
- Return values
-
The documentation for this class was generated from the following file:
- grade/grading/form/guide/tests/generator/criterion.php