ILIAS
Release_4_1_x_branch Revision 61804
|
Class ilObjSCORMTracking. More...
Public Member Functions | |
ilObjSCORMTracking () | |
Constructor public. | |
extractData () | |
store ($obj_id=0, $sahs_id=0, $extractData=1) | |
storeJsApi ($obj_id=0) | |
_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) | |
Redesign required. |
Static Public Member Functions | |
static | _getInProgress ($scorm_item_id, $a_obj_id) |
Redesign required. | |
static | _getCompleted ($scorm_item_id, $a_obj_id) |
Redesign required. | |
static | _getCollectionStatus ($a_scos, $a_obj_id, $a_user_id) |
static | _countCompleted ($a_scos, $a_obj_id, $a_user_id) |
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 463 of file class.ilObjSCORMTracking.php.
References $ilDB, $in, and $res.
Referenced by ilLPStatusSCORM\determinePercentage().
|
static |
Definition at line 412 of file class.ilObjSCORMTracking.php.
References $failed, $ilDB, $in, and $res.
Referenced by ilLPStatusSCORM\determineStatus().
|
static |
Redesign required.
object | $scorm_item_id | |
object | $a_obj_id |
Definition at line 378 of file class.ilObjSCORMTracking.php.
References $ilDB, $in, $res, and $row.
|
static |
Get users who have status completed or passed.
object | $a_scorm_item_ids | |
object | $a_obj_id |
Definition at line 565 of file class.ilObjSCORMTracking.php.
References $ilDB, $in, $query, $res, and $row.
Referenced by ilLPStatusSCORM\_getStatusInfo().
ilObjSCORMTracking::_getFailed | ( | $scorm_item_id, | |
$a_obj_id | |||
) |
Redesign required.
object | $scorm_item_id | |
object | $a_obj_id |
Definition at line 522 of file class.ilObjSCORMTracking.php.
References $ilDB, $in, $res, and $row.
|
static |
Redesign required.
object | $scorm_item_id | |
object | $a_obj_id |
Definition at line 339 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 609 of file class.ilObjSCORMTracking.php.
References $ilDB, $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 496 of file class.ilObjSCORMTracking.php.
References $ilDB, $ilLog, $res, and $row.
Referenced by ilTrQuery\getParticipantsForObject().
ilObjSCORMTracking::_insertTrackData | ( | $a_sahs_id, | |
$a_lval, | |||
$a_rval, | |||
$a_obj_id | |||
) |
Definition at line 310 of file class.ilObjSCORMTracking.php.
References $ilDB, 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 265 of file class.ilObjSCORMTracking.php.
References $ilDB, $ilLog, and ilChangeEvent\_recordReadEvent().
Referenced by store(), and storeJsApi().
ilObjSCORMTracking::extractData | ( | ) |
Definition at line 24 of file class.ilObjSCORMTracking.php.
Referenced by store().
ilObjSCORMTracking::ilObjSCORMTracking | ( | ) |
ilObjSCORMTracking::store | ( | $obj_id = 0 , |
|
$sahs_id = 0 , |
|||
$extractData = 1 |
|||
) |
Definition at line 59 of file class.ilObjSCORMTracking.php.
References $_GET, $_POST, $ilDB, $ref_id, ilObject\_lookupObjId(), _syncReadEvent(), ilLPStatusWrapper\_updateStatus(), extractData(), and ilUtil\now().
Referenced by ilObjHACPTracking\putparam().
ilObjSCORMTracking::storeJsApi | ( | $obj_id = 0 | ) |
Definition at line 168 of file class.ilObjSCORMTracking.php.
References $_GET, $_POST, $ilDB, $ilLog, $ref_id, ilObject\_lookupObjId(), _syncReadEvent(), ilLPStatusWrapper\_updateStatus(), and ilUtil\now().