13 include_once
'./Services/Tracking/classes/class.ilLPStatus.php';
23 require_once(
"Modules/StudyProgramme/classes/class.ilObjStudyProgramme.php");
25 return $prg->getIdsOfUsersWithNotCompletedAndRelevantProgress();
34 require_once(
"Modules/StudyProgramme/classes/class.ilObjStudyProgramme.php");
36 return $prg->getIdsOfUsersWithCompletedProgress();
41 require_once(
"Modules/StudyProgramme/classes/class.ilObjStudyProgramme.php");
43 $progresses = $prg->getProgressesOf($a_user_id);
48 foreach ($progresses as $progress) {
49 if ($progress->isSuccessful()) {
53 if ($progress->isRelevant()) {
const LP_STATUS_COMPLETED_NUM
const LP_STATUS_IN_PROGRESS_NUM
static _getInProgress($a_obj_id)
determineStatus($a_obj_id, $a_user_id, $a_obj=null)
Class ilObjStudyProgramme.
const LP_STATUS_NOT_ATTEMPTED_NUM
static _getCountInProgress($a_obj_id)
Abstract class ilLPStatus for all learning progress modes E.g ilLPStatusManual, ilLPStatusObjectives ...
static _getCountCompleted($a_obj_id)
static _getCompleted($a_obj_id)