4 include_once
'./Services/Tracking/classes/class.ilLPStatus.php';
17 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
30 include_once
'./Services/Tracking/classes/class.ilChangeEvent.php';
33 include_once
"Modules/LearningModule/classes/class.ilLMTracker.php";
34 foreach($users as $user_id)
38 if(
$tracker->getAllQuestionsCorrect())
40 $usr_ids[] = $user_id;
57 $status = self::LP_STATUS_NOT_ATTEMPTED_NUM;
59 include_once
"Services/Tracking/classes/class.ilChangeEvent.php";
62 $status = self::LP_STATUS_IN_PROGRESS_NUM;
64 include_once
"Modules/LearningModule/classes/class.ilLMTracker.php";
66 if(
$tracker->getAllQuestionsCorrect())
68 $status = self::LP_STATUS_COMPLETED_NUM;
determineStatus($a_obj_id, $a_user_id, $a_obj=null)
Determine status.
static hasAccessed($a_obj_id, $a_usr_id)
Has accessed.
static _getInProgress($a_obj_id)
static _getCompleted($a_obj_id)
Static function to read the users who have the status 'completed'.
static getInstanceByObjId($a_obj_id, $a_user_id=0)
Get instance.
Create styles array
The data for the language used.
Abstract class ilLPStatus for all learning progress modes E.g ilLPStatusManual, ilLPStatusObjectives ...
static _getCompleted($a_obj_id)
static lookupUsersInProgress($a_obj_id)
Lookup users in progress.