3declare(strict_types=0);
32 foreach ($users as $user_id) {
35 if ($tracker->getAllQuestionsCorrect()) {
36 $usr_ids[] = $user_id;
54 if ($tracker->getAllQuestionsCorrect()) {
static hasAccessed(int $a_obj_id, int $a_usr_id)
Has accessed.
static lookupUsersInProgress(int $a_obj_id)
static getInstanceByObjId(int $a_obj_id, int $a_user_id=0)
determineStatus(int $a_obj_id, int $a_usr_id, object $a_obj=null)
static _getCompleted(int $a_obj_id)
static _getInProgress(int $a_obj_id)
static _getCompleted(int $a_obj_id)
Static function to read the users who have the status 'completed'.
Abstract class ilLPStatus for all learning progress modes E.g ilLPStatusManual, ilLPStatusObjectives ...
const LP_STATUS_COMPLETED_NUM
const LP_STATUS_IN_PROGRESS_NUM
const LP_STATUS_NOT_ATTEMPTED_NUM