19 declare(strict_types=0);
34 foreach ($allReadEvents as $event) {
35 $userIds[] = $event[
'usr_id'];
56 $status = self::LP_STATUS_NOT_ATTEMPTED_NUM;
58 switch ($this->ilObjDataCache->lookupType($a_obj_id)) {
63 $status = self::LP_STATUS_COMPLETED_NUM;
static hasAccessed(int $a_obj_id, int $a_usr_id)
Has accessed.
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
determineStatus(int $a_obj_id, int $a_usr_id, ?object $a_obj=null)
static _lookupReadEvents($obj_id, $usr_id=null)
Reads all read events which occured on the object.
ilObjectDataCache $ilObjDataCache
static _getCompleted(int $a_obj_id)