Reputation: 75
In Moodle 2.7, scorm 1.2 writes the cmi.core.session_time (can see it in the SCORM tracking tool) but that value is not stored in the DB in Moodle (the only value stored is cmi.core.total_time).
is there a way to get the session_time value via events in Moodle?
Upvotes: 0
Views: 1118
Reputation: 950
According to the specification when LMSFinish() is called at the end of the session, the value in the cmi.core.session_time element should be added to the value stored in the cmi.core.total_time element, and the value in the cmi.core.session_time element should be reset. To get the value you can use a script in the LMSFinish() function and get the value of cmi.core.session_time before resetting. Hope this will help.
Upvotes: 3