Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37670

Re: Where to hook in to the course completion event?

$
0
0
by Ray Morris.  

We did the same thing previously, checking for the completion of the SCORM.  Now that we have a course with multiple SCORMs, we're going to do it "right" by firing from course competion.

 

BTW I mentioned doing it in the cron script.  Taking a second look, I think the right place would be:

 

lib/completion/completion_completion.php 

public function mark_complete

 

I'm submitting a tracker issue to get feedback from Aaron Barnes, maintainer of the completion module, and other interested parties.

I'm kind of tempted to sprinkle events in a few places within completion - it's job is basically to track completion events, it seems, so it would be good if it raised events, I'm thinking.


Viewing all articles
Browse latest Browse all 37670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>