|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| definition () | |
Protected Member Functions | |
| definition_inner (&$mform) | |
Protected Attributes | |
| $strategy | |
Base class for editing all the strategy grading forms.
This defines the common fields that all strategy grading forms need. Strategies should define their own class that inherits from this one, and implements the definition_inner() method.
moodleform
Definition at line 40 of file edit_form.php.
| definition | ( | ) |
Add the fields that are common for all grading strategies.
If the strategy does not support all these fields, then you can override this method and remove the ones you don't want with $mform->removeElement(). Stretegy subclassess should define their own fields in definition_inner()
Reimplemented from moodleform.
Definition at line 55 of file edit_form.php.

| definition_inner | ( | &$ | mform | ) | [protected] |
Add any strategy specific form fields.
| stdClass | $mform | the form being built. |
Reimplemented in workshop_edit_rubric_strategy_form, workshop_edit_accumulative_strategy_form, workshop_edit_comments_strategy_form, and workshop_edit_numerrors_strategy_form.
Definition at line 90 of file edit_form.php.

$strategy [protected] |
strategy logic instance that this class is editor of
Definition at line 43 of file edit_form.php.