ILIAS
Release_4_2_x_branch Revision 61807
|
SCORM Item. More...
Public Member Functions | |
ilSCORMItem ($a_id=0) | |
Constructor. | |
getImportId () | |
setImportId ($a_import_id) | |
getIdentifierRef () | |
setIdentifierRef ($a_id_ref) | |
getVisible () | |
setVisible ($a_visible) | |
getParameters () | |
setParameters ($a_par) | |
getPrereqType () | |
setPrereqType ($a_p_type) | |
getPrerequisites () | |
setPrerequisites ($a_pre) | |
getMaxTimeAllowed () | |
setMaxTimeAllowed ($a_max) | |
getTimeLimitAction () | |
setTimeLimitAction ($a_lim_act) | |
getDataFromLms () | |
setDataFromLms ($a_data) | |
getMasteryScore () | |
setMasteryScore ($a_score) | |
read () | |
create () | |
Create database record for SCORM object. | |
update () | |
Updates database record for SCORM object. | |
getTrackingDataOfUser ($a_user_id=0) | |
get tracking data of specified or current user | |
_lookupTrackingDataOfUser ($a_item_id, $a_user_id=0, $a_obj_id=0) | |
delete () | |
insertTrackData ($a_lval, $a_rval, $a_obj_id) | |
_getItems ($a_obj_id) | |
_lookupTitle ($a_obj_id) | |
Public Member Functions inherited from ilSCORMObject | |
ilSCORMObject ($a_id=0) | |
Constructor. | |
getId () | |
setId ($a_id) | |
getType () | |
setType ($a_type) | |
getTitle () | |
setTitle ($a_title) | |
getSLMId () | |
setSLMId ($a_slm_id) | |
_lookupPresentableItems ($a_slm_id) | |
Count number of presentable SCOs/Assets of SCORM learning module. | |
& | _getInstance ($a_id, $a_slm_id) |
get instance of specialized GUI class |
Data Fields | |
$import_id | |
$identifierref | |
$isvisible | |
$parameters | |
$prereq_type | |
$prerequisites | |
$maxtimeallowed | |
$timelimitaction | |
$datafromlms | |
$masteryscore | |
Data Fields inherited from ilSCORMObject | |
$id | |
$title | |
$type | |
$slm_id |
SCORM Item.
Definition at line 15 of file class.ilSCORMItem.php.
ilSCORMItem::_getItems | ( | $a_obj_id | ) |
Definition at line 311 of file class.ilSCORMItem.php.
ilSCORMItem::_lookupTitle | ( | $a_obj_id | ) |
Definition at line 329 of file class.ilSCORMItem.php.
References $ilDB, $res, and $row.
Referenced by ilLPStatusSCORM\_getStatusInfo().
ilSCORMItem::_lookupTrackingDataOfUser | ( | $a_item_id, | |
$a_user_id = 0 , |
|||
$a_obj_id = 0 |
|||
) |
Definition at line 251 of file class.ilSCORMItem.php.
References $ilDB.
Referenced by ilSCORMExplorer\getOutputIcons().
ilSCORMItem::create | ( | ) |
Create database record for SCORM object.
Reimplemented from ilSCORMObject.
Definition at line 169 of file class.ilSCORMItem.php.
References $ilDB, getDataFromLms(), ilSCORMObject\getId(), getIdentifierRef(), getImportId(), getMasteryScore(), getMaxTimeAllowed(), getParameters(), getPrereqType(), getPrerequisites(), getTimeLimitAction(), and getVisible().
ilSCORMItem::delete | ( | ) |
Reimplemented from ilSCORMObject.
Definition at line 278 of file class.ilSCORMItem.php.
References $ilDB, $ilLog, ilLPStatusWrapper\_refreshStatus(), ilSCORMObject\getId(), and ilSCORMObject\getSLMId().
ilSCORMItem::getDataFromLms | ( | ) |
Definition at line 120 of file class.ilSCORMItem.php.
References $datafromlms.
Referenced by create(), and update().
ilSCORMItem::getIdentifierRef | ( | ) |
Definition at line 50 of file class.ilSCORMItem.php.
References $identifierref.
Referenced by create(), and update().
ilSCORMItem::getImportId | ( | ) |
Definition at line 40 of file class.ilSCORMItem.php.
References $import_id.
Referenced by create(), and update().
ilSCORMItem::getMasteryScore | ( | ) |
Definition at line 130 of file class.ilSCORMItem.php.
References $masteryscore.
Referenced by create(), and update().
ilSCORMItem::getMaxTimeAllowed | ( | ) |
Definition at line 100 of file class.ilSCORMItem.php.
References $maxtimeallowed.
Referenced by create(), and update().
ilSCORMItem::getParameters | ( | ) |
Definition at line 70 of file class.ilSCORMItem.php.
References $parameters.
Referenced by create(), and update().
ilSCORMItem::getPrereqType | ( | ) |
Definition at line 80 of file class.ilSCORMItem.php.
References $prereq_type.
Referenced by create(), and update().
ilSCORMItem::getPrerequisites | ( | ) |
Definition at line 90 of file class.ilSCORMItem.php.
References $prerequisites.
Referenced by create(), and update().
ilSCORMItem::getTimeLimitAction | ( | ) |
Definition at line 110 of file class.ilSCORMItem.php.
References $timelimitaction.
Referenced by create(), and update().
ilSCORMItem::getTrackingDataOfUser | ( | $a_user_id = 0 | ) |
get tracking data of specified or current user
Definition at line 224 of file class.ilSCORMItem.php.
References $ilDB, ilSCORMObject\getId(), and ilSCORMObject\getSLMId().
ilSCORMItem::getVisible | ( | ) |
Definition at line 60 of file class.ilSCORMItem.php.
References $isvisible.
Referenced by create(), and update().
ilSCORMItem::ilSCORMItem | ( | $a_id = 0 | ) |
Constructor.
int | $a_id | Object ID public |
Definition at line 34 of file class.ilSCORMItem.php.
References ilSCORMObject\ilSCORMObject(), and ilSCORMObject\setType().
ilSCORMItem::insertTrackData | ( | $a_lval, | |
$a_rval, | |||
$a_obj_id | |||
) |
Definition at line 303 of file class.ilSCORMItem.php.
References ilObjSCORMTracking\_insertTrackData(), and ilSCORMObject\getId().
ilSCORMItem::read | ( | ) |
Reimplemented from ilSCORMObject.
Definition at line 140 of file class.ilSCORMItem.php.
References $ilDB, ilSCORMObject\getId(), setDataFromLms(), setIdentifierRef(), setImportId(), setMasteryScore(), setMaxTimeAllowed(), setParameters(), setPrereqType(), setPrerequisites(), setTimeLimitAction(), and setVisible().
ilSCORMItem::setDataFromLms | ( | $a_data | ) |
Definition at line 125 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setIdentifierRef | ( | $a_id_ref | ) |
Definition at line 55 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setImportId | ( | $a_import_id | ) |
Definition at line 45 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setMasteryScore | ( | $a_score | ) |
Definition at line 135 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setMaxTimeAllowed | ( | $a_max | ) |
Definition at line 105 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setParameters | ( | $a_par | ) |
Definition at line 75 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setPrereqType | ( | $a_p_type | ) |
Definition at line 85 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setPrerequisites | ( | $a_pre | ) |
Definition at line 95 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setTimeLimitAction | ( | $a_lim_act | ) |
Definition at line 115 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setVisible | ( | $a_visible | ) |
Definition at line 65 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::update | ( | ) |
Updates database record for SCORM object.
Reimplemented from ilSCORMObject.
Definition at line 192 of file class.ilSCORMItem.php.
References $ilDB, getDataFromLms(), ilSCORMObject\getId(), getIdentifierRef(), getImportId(), getMasteryScore(), getMaxTimeAllowed(), getParameters(), getPrereqType(), getPrerequisites(), getTimeLimitAction(), and getVisible().
ilSCORMItem::$datafromlms |
Definition at line 25 of file class.ilSCORMItem.php.
Referenced by getDataFromLms().
ilSCORMItem::$identifierref |
Definition at line 18 of file class.ilSCORMItem.php.
Referenced by getIdentifierRef().
ilSCORMItem::$import_id |
Definition at line 17 of file class.ilSCORMItem.php.
Referenced by getImportId().
ilSCORMItem::$isvisible |
Definition at line 19 of file class.ilSCORMItem.php.
Referenced by getVisible().
ilSCORMItem::$masteryscore |
Definition at line 26 of file class.ilSCORMItem.php.
Referenced by getMasteryScore().
ilSCORMItem::$maxtimeallowed |
Definition at line 23 of file class.ilSCORMItem.php.
Referenced by getMaxTimeAllowed().
ilSCORMItem::$parameters |
Definition at line 20 of file class.ilSCORMItem.php.
Referenced by getParameters().
ilSCORMItem::$prereq_type |
Definition at line 21 of file class.ilSCORMItem.php.
Referenced by getPrereqType().
ilSCORMItem::$prerequisites |
Definition at line 22 of file class.ilSCORMItem.php.
Referenced by getPrerequisites().
ilSCORMItem::$timelimitaction |
Definition at line 24 of file class.ilSCORMItem.php.
Referenced by getTimeLimitAction().