mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-34544 - assign - document assessable_ events
This commit is contained in:
parent
d37781a529
commit
eb93ee27b3
@ -24,9 +24,29 @@
|
||||
|
||||
$handlers = array();
|
||||
|
||||
/* List of events thrown from assignment module
|
||||
/* List of events generated by the assign module, with the fields on the event object.
|
||||
|
||||
assignment_finalize_sent - object course, object user, object cm, object assignment, fileareaname
|
||||
assignment_file_sent - object course, object user, object cm, object assignment, object file
|
||||
assessable_content_uploaded
|
||||
->modulename = 'assign';
|
||||
->cmid = // The cmid of the assign.
|
||||
->itemid = // The submission id of the user submission.
|
||||
->courseid = // The course id of the course the assign belongs to.
|
||||
->userid = // The user id that the attempt belongs to.
|
||||
->content = // The text content entered by the user (empty if no content submitted)
|
||||
->pathnamehashes = // An array of pathnamehashes of the files submitted by the user (var not passed if not set).
|
||||
|
||||
assessable_file_uploaded
|
||||
->modulename = 'assign';
|
||||
->cmid = // The cmid of the assign.
|
||||
->itemid = // The submission id of the user submission.
|
||||
->courseid = // The course id of the course the assign belongs to.
|
||||
->userid = // The user id that the attempt belongs to.
|
||||
->pathnamehashes = // An array of pathnamehashes of the files submitted by the user (var not passed if not set).
|
||||
|
||||
assessable_content_done
|
||||
->modulename = 'assign';
|
||||
->cmid = // The cmid of the assign.
|
||||
->itemid = // The submission id of the user submission.
|
||||
->courseid = // The course id of the course the assign belongs to.
|
||||
->userid = // The user id that the attempt belongs to.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user