Course Completion

Course Completion

danny willford -
回帖数:2

Where is the code that fires to update the database when a course is completed?  I need to add code to send confirmation of completion to another database outside of moodle.  I know what code I need to write, I just can't seem where to place it.

 

Thanks!

回复danny willford

Re: Course Completion

Darko Miletić -
Core developers的头像 Plugin developers的头像

Subscribe to the course completion event.

http://docs.moodle.org/dev/Events_API

See also lib/eventslib.php and lib/completionlib.php

回复Darko Miletić

Re: Course Completion

danny willford -

Wonderful!  Thank you Darko!  I had looked in the Events API before but I had skipped over the User section everytime.  Now that I see it, it makes sense, but I just assumed it would have been in the course section.

 

Thanks again!

 

~Danny