Skip to content
Snippets Groups Projects
Commit 4848751c authored by Ryan Smith's avatar Ryan Smith
Browse files

Adds ScormLaunched event.

parent dc0d17ea
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@ Moodle Event Name | xAPI Recipe Example
\mod_forum\event\discussion_viewed | [DiscussionViewed](https://github.com/LearningLocker/xAPI-Recipe-Emitter/blob/master/docs/examples/DiscussionViewed.json)
\core\event\user_created | [UserRegistered](https://github.com/LearningLocker/xAPI-Recipe-Emitter/blob/master/docs/examples/UserRegistered.json)
\core\event\user_enrolment_created | [EnrolmentCreated](https://github.com/LearningLocker/xAPI-Recipe-Emitter/blob/master/docs/examples/EnrolmentCreated.json)
\mod_scorm\event\sco_launched | [ScormLaunched](https://github.com/LearningLocker/xAPI-Recipe-Emitter/blob/master/docs/examples/ScormLaunched.json)
## Plugin Design
The plugin [controls and configures](../classes/log/store.php) the three parts listed below.
......
<?php namespace Tests;
class ScormLaunchedTest extends TestCase {
protected function constructInput() {
return array_merge(parent::constructInput(), [
'objecttable' => 'scorm_scoes',
'objectid' => 1,
'eventname' => '\mod_scorm\event\sco_launched',
]);
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment