ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilObjSCORMTracking. More...
Public Member Functions | |
ilObjSCORMTracking () | |
Constructor public. | |
extractData () | |
store ($obj_id=0, $sahs_id=0, $extractData=1) | |
storeJsApi ($obj_id=0) | |
storeJsApiCmi ($user_id, $obj_id, $data) | |
syncGlobalStatus ($userId, $packageId, $data, $new_global_status) | |
_syncReadEvent ($a_obj_id, $a_user_id, $a_type, $a_ref_id) | |
Synch read event table. | |
_insertTrackData ($a_sahs_id, $a_lval, $a_rval, $a_obj_id) | |
_getTrackedUsers ($a_obj_id) | |
Get all tracked users. | |
_getFailed ($scorm_item_id, $a_obj_id) | |
like necessary because of Oracle | |
scorm12PlayerUnload () |
Static Public Member Functions | |
static | _getInProgress ($scorm_item_id, $a_obj_id, $a_blocked_user_ids=null) |
static | _getCompleted ($scorm_item_id, $a_obj_id) |
like necessary because of Oracle | |
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) |
static | lookupLastAccessTimes ($a_obj_id) |
Lookup last acccess time for all users of a scorm module ilDB $ilDB. | |
static | _getCountCompletedPerUser ($a_scorm_item_ids, $a_obj_id) |
Get users who have status completed or passed. | |
static | _getProgressInfo ($sco_item_ids, $a_obj_id) |
Get info about. |
Class ilObjSCORMTracking.
Definition at line 12 of file class.ilObjSCORMTracking.php.
|
static |
Definition at line 567 of file class.ilObjSCORMTracking.php.
Referenced by ilLPStatusSCORM\determinePercentage().
|
static |
Definition at line 472 of file class.ilObjSCORMTracking.php.
References $failed, $in, and $res.
Referenced by ilLPStatusSCORM\determineStatus().
|
static |
like necessary because of Oracle
object | $scorm_item_id | |
object | $a_obj_id |
Definition at line 438 of file class.ilObjSCORMTracking.php.
References $in, $res, and $row.
Referenced by ilObjSCORMLearningModule\exportSelected().
|
static |
Get users who have status completed or passed.
object | $a_scorm_item_ids | |
object | $a_obj_id |
Definition at line 692 of file class.ilObjSCORMTracking.php.
References $in, $res, and $row.
Referenced by ilLPStatusSCORM\_getStatusInfo().
ilObjSCORMTracking::_getFailed | ( | $scorm_item_id, | |
$a_obj_id | |||
) |
like necessary because of Oracle
object | $scorm_item_id | |
object | $a_obj_id |
Definition at line 649 of file class.ilObjSCORMTracking.php.
References $in, $res, and $row.
|
static |
object | $scorm_item_id | |
object | $a_obj_id | |
array | $a_blocked_user_ids |
Definition at line 397 of file class.ilObjSCORMTracking.php.
References $in, $res, and $row.
Referenced by _getProgressInfo().
|
static |
Get info about.
object | $sco_item_ids | |
object | $a_obj_id |
Definition at line 739 of file class.ilObjSCORMTracking.php.
References $in, $res, $row, and _getInProgress().
Referenced by ilLPStatusSCORM\_getStatusInfo().
ilObjSCORMTracking::_getTrackedUsers | ( | $a_obj_id | ) |
Get all tracked users.
object | $a_obj_id |
Definition at line 625 of file class.ilObjSCORMTracking.php.
References $ilLog, $res, and $row.
Referenced by ilTrQuery\getParticipantsForObject(), and ilLPStatusSCORM\refreshStatus().
|
static |
Definition at line 528 of file class.ilObjSCORMTracking.php.
Referenced by ilLPStatusSCORM\_getFailed().
ilObjSCORMTracking::_insertTrackData | ( | $a_sahs_id, | |
$a_lval, | |||
$a_rval, | |||
$a_obj_id | |||
) |
Definition at line 370 of file class.ilObjSCORMTracking.php.
References $ilUser, ilLPStatusWrapper\_updateStatus(), and ilUtil\now().
Referenced by ilSCORMItem\insertTrackData(), ilAICCUnit\insertTrackData(), and ilAICCCourse\insertTrackData().
ilObjSCORMTracking::_syncReadEvent | ( | $a_obj_id, | |
$a_user_id, | |||
$a_type, | |||
$a_ref_id | |||
) |
Synch read event table.
@return |
Definition at line 331 of file class.ilObjSCORMTracking.php.
References $ilLog, and ilChangeEvent\_recordReadEvent().
Referenced by scorm12PlayerUnload(), and store().
ilObjSCORMTracking::extractData | ( | ) |
Definition at line 24 of file class.ilObjSCORMTracking.php.
Referenced by store().
ilObjSCORMTracking::ilObjSCORMTracking | ( | ) |
|
static |
Lookup last acccess time for all users of a scorm module ilDB $ilDB.
int | $a_obj_id |
Definition at line 601 of file class.ilObjSCORMTracking.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilObjSCORMLearningModule\exportSelected().
ilObjSCORMTracking::scorm12PlayerUnload | ( | ) |
Definition at line 778 of file class.ilObjSCORMTracking.php.
References $_GET, $_POST, $GLOBALS, $ilUser, $ref_id, ilObject\_lookupObjId(), and _syncReadEvent().
ilObjSCORMTracking::store | ( | $obj_id = 0 , |
|
$sahs_id = 0 , |
|||
$extractData = 1 |
|||
) |
Definition at line 59 of file class.ilObjSCORMTracking.php.
References $_GET, $_POST, $ilUser, $ref_id, ilObject\_lookupObjId(), _syncReadEvent(), ilLPStatusWrapper\_updateStatus(), extractData(), and ilUtil\now().
Referenced by ilObjHACPTracking\putparam().
ilObjSCORMTracking::storeJsApi | ( | $obj_id = 0 | ) |
Definition at line 169 of file class.ilObjSCORMTracking.php.
References $_GET, $ilLog, $ilUser, $in, ilObject\_lookupObjId(), storeJsApiCmi(), and syncGlobalStatus().
ilObjSCORMTracking::storeJsApiCmi | ( | $user_id, | |
$obj_id, | |||
$data | |||
) |
Definition at line 192 of file class.ilObjSCORMTracking.php.
References $_POST, $ilLog, and ilUtil\now().
Referenced by ilSCORMOfflineMode\sop2il(), and storeJsApi().
ilObjSCORMTracking::syncGlobalStatus | ( | $userId, | |
$packageId, | |||
$data, | |||
$new_global_status | |||
) |
Definition at line 280 of file class.ilObjSCORMTracking.php.
References $_GET, $ilLog, ilChangeEvent\_recordReadEvent(), and ilLPStatus\writeStatus().
Referenced by ilSCORMOfflineMode\sop2il(), and storeJsApi().