Test rubric.
More...
|
| | __construct (string $name, string $description) |
| | Create a new gradingform_rubric_generator_rubric.
|
| |
| | add_criteria (criterion $criterion) |
| | Adds a criterion to the rubric.
|
| |
|
| get_definition () |
| | Creates the rubric using the appropriate APIs.
|
| |
| | set_option (string $key, $value) |
| | Set an option for the rubric.
|
| |
|
|
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.
|
| |
Test rubric.
- Copyright
- 2018 Adrian Greeve <adriangreeve.com>
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __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