32include_once 
'./Services/Tracking/classes/class.ilLPStatus.php';
 
   42        parent::__construct($a_obj_id);
 
   49        $users = $status_info[
'in_progress'];
 
   50        return array_unique(
$users);
 
   56        $users = $status_info[
'completed'];
 
   57        return array_unique(
$users);
 
   63        $users = $status_info[
'failed'];
 
   64        return array_unique(
$users);
 
   70        include_once 
'./Modules/Scorm2004/classes/class.ilSCORM2004Tracking.php';
 
   71        $status_info[
'subtype'] = 
"scorm2004";
 
   74        $status_info[
'completed'] = 
$info[
'completed'];
 
   75        $status_info[
'failed'] = 
$info[
'failed'];
 
   76        $status_info[
'in_progress'] = 
$info[
'in_progress'];
 
   93        $ilObjDataCache = 
$DIC[
'ilObjDataCache'];
 
   97        include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Tracking.php");
 
  100        switch ($scorm_status) {
 
  117        parent::refreshStatus($a_obj_id, $a_users);
 
  119        include_once(
"./Services/Tracking/classes/class.ilLPStatusWrapper.php");
 
  123        $all_active_users = array_unique(array_merge($in_progress, $completed, 
$failed));
 
  126        include_once(
"./Modules/Scorm2004/classes/class.ilSCORM2004Tracking.php");
 
  129        $not_attempted_users = array_diff($all_tracked_users, $all_active_users);
 
  130        unset($all_tracked_users);
 
  131        unset($all_active_users);
 
  134        if ($not_attempted_users) {
 
  135            foreach ($not_attempted_users as $usr_id) {
 
An exception for terminatinating execution or to throw for unit testing.
determineStatus($a_obj_id, $a_user_id, $a_obj=null)
Determine status.
determinePercentage($a_obj_id, $a_user_id, $a_obj=null)
Determine percentage.
static _getInProgress($a_obj_id)
refreshStatus($a_obj_id, $a_users=null)
Refresh status.
static _getCompleted($a_obj_id)
static _getStatusInfo($a_obj_id)
static _getFailed($a_obj_id)
static _getStatusInfo($a_obj_id)
Reads informations about the object e.g test results, tlt, number of visits.
static _getCompleted($a_obj_id)
Static function to read the users who have the status 'completed'.
static _getInProgress($a_obj_id)
Static function to read users who have the status 'in_progress'.
static _getFailed($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
const LP_STATUS_FAILED_NUM
static writeStatus($a_obj_id, $a_user_id, $a_status, $a_percentage=false, $a_force_per=false)
Write status for user and object.
static _getProgressInfoOfUser($a_obj_id, $a_user_id)
Get overall scorm status.
static _getTrackedUsers($a_obj_id)
Get all tracked users.
static _getProgressInfo($a_obj_id)
Get overall scorm status.