|
| | __construct (string $name, string $description) |
| | Create a new gradingform_guide_generator_criterion.
|
| |
| | add_criteria (criterion $criterion) |
| | Adds a criterion to the guide.
|
| |
|
| get_definition () |
| | Creates the guide using the appropriate APIs.
|
| |
| | set_option (string $key, $value) |
| | Set an option for the rubric.
|
| |
|
|
array | $criteria = [] |
| | $criteria The criteria for this guide.
|
| |
|
string | $description |
| | A description for this guide.
|
| |
|
string | $name |
| | The name of this guide.
|
| |
|
array | $options = [] |
| | The guide options.
|
| |
◆ __construct()
| tests\gradingform_guide\generator\guide::__construct |
( |
string |
$name, |
|
|
string |
$description |
|
) |
| |
Create a new gradingform_guide_generator_criterion.
- Parameters
-
| string | $name | |
| string | $description | |
◆ add_criteria()
| tests\gradingform_guide\generator\guide::add_criteria |
( |
criterion |
$criterion | ) |
|
Adds a criterion to the guide.
- Parameters
-
| criterion | $criterion | The criterion object (class below). |
- Return values
-
◆ get_critiera_as_array()
| tests\gradingform_guide\generator\guide::get_critiera_as_array |
( |
| ) |
|
|
protected |
Get the criteria as an array for use in creation.
- Return values
-
◆ set_option()
| tests\gradingform_guide\generator\guide::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/guide/tests/generator/guide.php