3 declare(strict_types=0);
32 foreach ($users as $user_id) {
35 if ($tracker->getAllQuestionsCorrect()) {
36 $usr_ids[] = $user_id;
48 $status = self::LP_STATUS_NOT_ATTEMPTED_NUM;
51 $status = self::LP_STATUS_IN_PROGRESS_NUM;
54 if ($tracker->getAllQuestionsCorrect()) {
55 $status = self::LP_STATUS_COMPLETED_NUM;
static _getCompleted(int $a_obj_id)
Static function to read the users who have the status 'completed'.
static hasAccessed(int $a_obj_id, int $a_usr_id)
Has accessed.
determineStatus(int $a_obj_id, int $a_usr_id, object $a_obj=null)
static lookupUsersInProgress(int $a_obj_id)
static _getCompleted(int $a_obj_id)
static getInstanceByObjId(int $a_obj_id, int $a_user_id=0)
static _getInProgress(int $a_obj_id)