ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilSCORM2004Tracking. More...
Public Member Functions | |
ilObjSCORM2004Tracking () | |
Constructor public. | |
_getInProgress ($scorm_item_id, $a_obj_id) | |
_getCompleted ($scorm_item_id, $a_obj_id) | |
_getFailed ($scorm_item_id, $a_obj_id) | |
_getCountCompletedPerUser ($a_scorm_item_ids, $a_obj_id, $a_omit_failed=false) | |
Get progress of selected scos. | |
_getProgressInfo ($a_obj_id) | |
Get overall scorm status. | |
_getProgressInfoOfUser ($a_obj_id, $a_user_id) | |
Get overall scorm status. | |
_getTrackedUsers ($a_obj_id) | |
Get all tracked users. | |
_getItemProgressInfo ($a_scorm_item_ids, $a_obj_id, $a_omit_failed=false) | |
_syncReadEvent ($a_obj_id, $a_user_id, $a_type, $a_ref_id) | |
Synch read event table. | |
getSumTotalTimeSecondsFromScos ($a_obj_id, $a_user_id, $a_write=false) | |
should be avoided; store value to increase performance for further requests |
Static Public Member Functions | |
static | _getCollectionStatus ($a_scos, $a_obj_id, $a_user_id) |
static | _hasMaxAttempts ($a_obj_id, $a_user_id) |
static | _countCompleted ($a_scos, $a_obj_id, $a_user_id, $a_omit_failed=false) |
static | _isCompleted ($a_status, $a_satisfied) |
static | _isInProgress ($a_status, $a_satisfied) |
static | _isFailed ($a_status, $a_satisfied) |
Class ilSCORM2004Tracking.
Definition at line 12 of file class.ilSCORM2004Tracking.php.
|
static |
Definition at line 377 of file class.ilSCORM2004Tracking.php.
Referenced by ilLPStatusSCORM\determinePercentage().
|
static |
Definition at line 300 of file class.ilSCORM2004Tracking.php.
References $failed, $in, and $res.
Referenced by ilLPStatusSCORM\determineStatus().
ilSCORM2004Tracking::_getCompleted | ( | $scorm_item_id, | |
$a_obj_id | |||
) |
Definition at line 58 of file class.ilSCORM2004Tracking.php.
ilSCORM2004Tracking::_getCountCompletedPerUser | ( | $a_scorm_item_ids, | |
$a_obj_id, | |||
$a_omit_failed = false |
|||
) |
Get progress of selected scos.
object | $a_scorm_item_ids | |
object | $a_obj_id | |
bool | $a_omit_failed | do not include success==failed |
Definition at line 124 of file class.ilSCORM2004Tracking.php.
References $in, $res, and $row.
Referenced by ilLPStatusSCORM\_getStatusInfo().
ilSCORM2004Tracking::_getFailed | ( | $scorm_item_id, | |
$a_obj_id | |||
) |
Definition at line 88 of file class.ilSCORM2004Tracking.php.
ilSCORM2004Tracking::_getInProgress | ( | $scorm_item_id, | |
$a_obj_id | |||
) |
Definition at line 22 of file class.ilSCORM2004Tracking.php.
ilSCORM2004Tracking::_getItemProgressInfo | ( | $a_scorm_item_ids, | |
$a_obj_id, | |||
$a_omit_failed = false |
|||
) |
Definition at line 257 of file class.ilSCORM2004Tracking.php.
References $in, $res, and $row.
Referenced by ilLPStatusSCORM\_getStatusInfo().
ilSCORM2004Tracking::_getProgressInfo | ( | $a_obj_id | ) |
Get overall scorm status.
object | $a_obj_id |
Definition at line 161 of file class.ilSCORM2004Tracking.php.
Referenced by ilLPStatusSCORMPackage\_getStatusInfo().
ilSCORM2004Tracking::_getProgressInfoOfUser | ( | $a_obj_id, | |
$a_user_id | |||
) |
Get overall scorm status.
object | $a_obj_id |
Definition at line 201 of file class.ilSCORM2004Tracking.php.
References $ilLog, $res, and $row.
Referenced by ilLPStatusSCORMPackage\determineStatus().
ilSCORM2004Tracking::_getTrackedUsers | ( | $a_obj_id | ) |
Get all tracked users.
object | $a_obj_id |
Definition at line 237 of file class.ilSCORM2004Tracking.php.
References $ilLog, $res, and $row.
Referenced by ilLPStatusSCORMPackage\refreshStatus(), and ilLPStatusSCORM\refreshStatus().
|
static |
Definition at line 348 of file class.ilSCORM2004Tracking.php.
Referenced by ilLPStatusSCORM\_getFailed().
|
static |
Definition at line 448 of file class.ilSCORM2004Tracking.php.
|
static |
Definition at line 474 of file class.ilSCORM2004Tracking.php.
|
static |
Definition at line 461 of file class.ilSCORM2004Tracking.php.
ilSCORM2004Tracking::_syncReadEvent | ( | $a_obj_id, | |
$a_user_id, | |||
$a_type, | |||
$a_ref_id | |||
) |
Synch read event table.
@return |
Definition at line 423 of file class.ilSCORM2004Tracking.php.
References ilChangeEvent\_recordReadEvent(), and getSumTotalTimeSecondsFromScos().
ilSCORM2004Tracking::getSumTotalTimeSecondsFromScos | ( | $a_obj_id, | |
$a_user_id, | |||
$a_write = false |
|||
) |
should be avoided; store value to increase performance for further requests
Definition at line 487 of file class.ilSCORM2004Tracking.php.
References $ilLog, and ilObjSCORM2004LearningModule\_ISODurationToCentisec().
Referenced by _syncReadEvent().
ilSCORM2004Tracking::ilObjSCORM2004Tracking | ( | ) |