|
array | $criteria = [] |
| $criteria The criteria for this rubric.
|
|
string | $description |
| A description for this rubric.
|
|
string | $name |
| The name of this rubric.
|
|
array | $options = [] |
| The rubric options.
|
|
◆ __construct()
tests\gradingform_rubric\generator\rubric::__construct |
( |
string |
$name, |
|
|
string |
$description |
|
) |
| |
Create a new gradingform_rubric_generator_rubric.
- Parameters
-
string | $name | |
string | $description | |
◆ add_criteria()
tests\gradingform_rubric\generator\rubric::add_criteria |
( |
criterion |
$criterion | ) |
|
Adds a criterion to the rubric.
- Parameters
-
criterion | $criterion | The criterion object (class below). |
- Return values
-
◆ get_all_criterion_values()
tests\gradingform_rubric\generator\rubric::get_all_criterion_values |
( |
| ) |
|
|
protected |
Get all criterion values.
- Return values
-
◆ set_option()
tests\gradingform_rubric\generator\rubric::set_option |
( |
string |
$key, |
|
|
|
$value |
|
) |
| |
Set an option for the rubric.
- Parameters
-
- Return values
-
The documentation for this class was generated from the following file:
- grade/grading/form/rubric/tests/generator/rubric.php