ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class ilObjSCORMTracking. More...
Public Member Functions | |
ilObjSCORMTracking () | |
Constructor @access public. More... | |
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. More... | |
_insertTrackData ($a_sahs_id, $a_lval, $a_rval, $a_obj_id) | |
_getTrackedUsers ($a_obj_id) | |
Get all tracked users. More... | |
_getFailed ($scorm_item_id, $a_obj_id) | |
like necessary because of Oracle More... | |
scorm12PlayerUnload () | |
checkIfAllowed ($packageId, $userId, $hash) | |
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 More... | |
static | _getCollectionStatus ($a_scos, $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 @global ilDB $ilDB. More... | |
static | _getCountCompletedPerUser ($a_scorm_item_ids, $a_obj_id) |
Get users who have status completed or passed. More... | |
static | _getProgressInfo ($sco_item_ids, $a_obj_id) |
Get info about. More... | |
Class ilObjSCORMTracking.
Definition at line 12 of file class.ilObjSCORMTracking.php.
|
static |
Definition at line 530 of file class.ilObjSCORMTracking.php.
References $ilDB, $in, and $res.
Referenced by ilLPStatusSCORM\determinePercentage().
|
static |
Definition at line 478 of file class.ilObjSCORMTracking.php.
References $failed, $ilDB, $in, and $res.
Referenced by ilLPStatusSCORM\determineStatus().
|
static |
like necessary because of Oracle
object | $scorm_item_id | |
object | $a_obj_id |
Definition at line 444 of file class.ilObjSCORMTracking.php.
|
static |
Get users who have status completed or passed.
object | $a_scorm_item_ids | |
object | $a_obj_id |
Definition at line 655 of file class.ilObjSCORMTracking.php.
References $ilDB, $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 612 of file class.ilObjSCORMTracking.php.
|
static |
object | $scorm_item_id | |
object | $a_obj_id | |
array | $a_blocked_user_ids |
Definition at line 399 of file class.ilObjSCORMTracking.php.
References $ilDB, $in, $res, and $row.
Referenced by _getProgressInfo().
|
static |
Get info about.
object | $sco_item_ids | |
object | $a_obj_id |
Definition at line 686 of file class.ilObjSCORMTracking.php.
References $ilDB, $in, $info, $res, $row, and _getInProgress().
Referenced by ilLPStatusSCORM\_getStatusInfo().
ilObjSCORMTracking::_getTrackedUsers | ( | $a_obj_id | ) |
Get all tracked users.
object | $a_obj_id |
Definition at line 588 of file class.ilObjSCORMTracking.php.
References $ilDB, $ilLog, $res, and $row.
Referenced by ilTrQuery\getParticipantsForObject(), and ilLPStatusSCORM\refreshStatus().
ilObjSCORMTracking::_insertTrackData | ( | $a_sahs_id, | |
$a_lval, | |||
$a_rval, | |||
$a_obj_id | |||
) |
Definition at line 372 of file class.ilObjSCORMTracking.php.
References $ilDB, $ilUser, ilLPStatusWrapper\_updateStatus(), and ilUtil\now().
Referenced by ilAICCCourse\insertTrackData(), ilAICCUnit\insertTrackData(), and ilSCORMItem\insertTrackData().
ilObjSCORMTracking::_syncReadEvent | ( | $a_obj_id, | |
$a_user_id, | |||
$a_type, | |||
$a_ref_id | |||
) |
Synch read event table.
return
Definition at line 333 of file class.ilObjSCORMTracking.php.
References $ilDB, $ilLog, and ilChangeEvent\_recordReadEvent().
Referenced by scorm12PlayerUnload(), and store().
ilObjSCORMTracking::checkIfAllowed | ( | $packageId, | |
$userId, | |||
$hash | |||
) |
Definition at line 753 of file class.ilObjSCORMTracking.php.
References $ilDB, $packageId, and $res.
ilObjSCORMTracking::extractData | ( | ) |
Definition at line 24 of file class.ilObjSCORMTracking.php.
Referenced by store().
ilObjSCORMTracking::ilObjSCORMTracking | ( | ) |
Constructor @access public.
Definition at line 18 of file class.ilObjSCORMTracking.php.
|
static |
Lookup last acccess time for all users of a scorm module @global ilDB $ilDB.
int | $a_obj_id |
Definition at line 564 of file class.ilObjSCORMTracking.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
ilObjSCORMTracking::scorm12PlayerUnload | ( | ) |
Definition at line 725 of file class.ilObjSCORMTracking.php.
References $_GET, $_POST, $GLOBALS, $ilDB, $ilUser, $ref_id, _syncReadEvent(), and print.
ilObjSCORMTracking::store | ( | $obj_id = 0 , |
|
$sahs_id = 0 , |
|||
$extractData = 1 |
|||
) |
Definition at line 59 of file class.ilObjSCORMTracking.php.
References $_GET, $_POST, $ilDB, $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, $data, $in, print, storeJsApiCmi(), and syncGlobalStatus().
ilObjSCORMTracking::storeJsApiCmi | ( | $user_id, | |
$obj_id, | |||
$data | |||
) |
Definition at line 194 of file class.ilObjSCORMTracking.php.
References $_POST, $data, $ilDB, $ilLog, and ilUtil\now().
Referenced by ilSCORMOfflineMode\sop2il(), and storeJsApi().
ilObjSCORMTracking::syncGlobalStatus | ( | $userId, | |
$packageId, | |||
$data, | |||
$new_global_status | |||
) |
Definition at line 282 of file class.ilObjSCORMTracking.php.
References $_GET, $data, $ilDB, $ilLog, $packageId, ilChangeEvent\_recordReadEvent(), and ilLPStatus\writeStatus().
Referenced by ilSCORMOfflineMode\sop2il(), and storeJsApi().