| [ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Behat grade related steps definitions.
| Copyright: | 2014 Mark Nelson <[email protected]> |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 107 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 1 file lib/behat/behat_base.php |
behat_grade:: (3 methods):
i_give_the_grade()
i_set_the_following_settings_for_grade_item()
i_reset_weights_for_grade_category()
Class: behat_grade - X-Ref
| i_give_the_grade($grade, $userfullname, $itemname) X-Ref |
| Enters a grade via the gradebook for a specific grade item and user when viewing the 'Grader report' with editing mode turned on. param: int $grade param: string $userfullname the user's fullname as returned by fullname() param: string $itemname return: Given |
| i_set_the_following_settings_for_grade_item($gradeitem, TableNode $data) X-Ref |
| Changes the settings of a grade item or category or the course. Teacher must be either on the grade setup page or on the Grader report page with editing mode turned on. param: string $gradeitem param: TableNode $data return: Given[] |
| i_reset_weights_for_grade_category($gradeitem) X-Ref |
| Resets the weights for the grade category Teacher must be on the grade setup page. param: $gradeitem return: array |
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |