5 require_once
'Services/Tracking/classes/class.ilLPStatus.php';
6 require_once
'Services/Tracking/classes/class.ilLearningProgress.php';
22 foreach ($allReadEvents as $event) {
23 $userIds[] = $event[
'usr_id'];
39 $ilObjDataCache = $DIC[
'ilObjDataCache'];
41 $status = self::LP_STATUS_NOT_ATTEMPTED_NUM;
43 switch ($ilObjDataCache->lookupType($a_obj_id)) {
47 $status = self::LP_STATUS_COMPLETED_NUM;
static hasAccessed($a_obj_id, $a_usr_id)
Has accessed.
determineStatus($a_obj_id, $a_usr_id, $a_obj=null)
Determine status.
static _getCompleted($a_obj_id)
static _lookupReadEvents($obj_id, $usr_id=null)
Reads all read events which occured on the object which happened after the last time the user caught ...
Abstract class ilLPStatus for all learning progress modes E.g ilLPStatusManual, ilLPStatusObjectives ...