ILIAS
Release_4_1_x_branch Revision 61804
|
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. |
Static Public Member Functions | |
static | _getCollectionStatus ($a_scos, $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 342 of file class.ilSCORM2004Tracking.php.
References $ilDB, $in, and $res.
Referenced by ilLPStatusSCORM\determinePercentage().
|
static |
Definition at line 300 of file class.ilSCORM2004Tracking.php.
References $failed, $ilDB, $in, and $res.
Referenced by ilLPStatusSCORM\determineStatus().
ilSCORM2004Tracking::_getCompleted | ( | $scorm_item_id, | |
$a_obj_id | |||
) |
Definition at line 58 of file class.ilSCORM2004Tracking.php.
References $ilDB.
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 $ilDB, $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.
References $ilDB.
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 $ilDB, $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.
References $ilDB, $res, and $row.
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 $ilDB, $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.
|
static |
Definition at line 457 of file class.ilSCORM2004Tracking.php.
|
static |
Definition at line 483 of file class.ilSCORM2004Tracking.php.
|
static |
Definition at line 470 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 387 of file class.ilSCORM2004Tracking.php.
References $ilDB, $ilLog, ilObjSCORM2004LearningModule\_ISODurationToCentisec(), and ilChangeEvent\_recordReadEvent().
Referenced by ilSCORM13Player\setCMIData().
ilSCORM2004Tracking::ilObjSCORM2004Tracking | ( | ) |