Get the most recent attempt for SCORM activity

Get the most recent attempt for SCORM activity

by Ivn Vai -
Number of replies: 1

Hi

Again, this is probably some thing very simple or already done some where but just that I couldn't find out.

Can any one tell me how to get the information for the most latest/recent attempt of a usr for a SCORM activity in the code.

I need this info to get the status of SCORM activity wrt that user for his latest attempt.

Any help is appreciciated. Thanks

Average of ratings: -
In reply to Ivn Vai

Re: Get the most recent attempt for SCORM activity

by Ankit Agarwal -

Hi Ivn,

Is this something that you were looking for?

scorm_get_last_completed_attempt($scormid, $userid)