ILIAS
Release_4_0_x_branch Revision 61816
|
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 34 of file class.ilSCORMItem.php.
ilSCORMItem::_getItems | ( | $a_obj_id | ) |
Definition at line 327 of file class.ilSCORMItem.php.
ilSCORMItem::_lookupTitle | ( | $a_obj_id | ) |
Definition at line 345 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 270 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 188 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 297 of file class.ilSCORMItem.php.
References $ilDB, $ilLog, ilSCORMObject\getId(), and ilSCORMObject\getSLMId().
ilSCORMItem::getDataFromLms | ( | ) |
Definition at line 139 of file class.ilSCORMItem.php.
References $datafromlms.
Referenced by create(), and update().
ilSCORMItem::getIdentifierRef | ( | ) |
Definition at line 69 of file class.ilSCORMItem.php.
References $identifierref.
Referenced by create(), and update().
ilSCORMItem::getImportId | ( | ) |
Definition at line 59 of file class.ilSCORMItem.php.
References $import_id.
Referenced by create(), and update().
ilSCORMItem::getMasteryScore | ( | ) |
Definition at line 149 of file class.ilSCORMItem.php.
References $masteryscore.
Referenced by create(), and update().
ilSCORMItem::getMaxTimeAllowed | ( | ) |
Definition at line 119 of file class.ilSCORMItem.php.
References $maxtimeallowed.
Referenced by create(), and update().
ilSCORMItem::getParameters | ( | ) |
Definition at line 89 of file class.ilSCORMItem.php.
References $parameters.
Referenced by create(), and update().
ilSCORMItem::getPrereqType | ( | ) |
Definition at line 99 of file class.ilSCORMItem.php.
References $prereq_type.
Referenced by create(), and update().
ilSCORMItem::getPrerequisites | ( | ) |
Definition at line 109 of file class.ilSCORMItem.php.
References $prerequisites.
Referenced by create(), and update().
ilSCORMItem::getTimeLimitAction | ( | ) |
Definition at line 129 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 243 of file class.ilSCORMItem.php.
References $ilDB, ilSCORMObject\getId(), and ilSCORMObject\getSLMId().
ilSCORMItem::getVisible | ( | ) |
Definition at line 79 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 53 of file class.ilSCORMItem.php.
References ilSCORMObject\ilSCORMObject(), and ilSCORMObject\setType().
ilSCORMItem::insertTrackData | ( | $a_lval, | |
$a_rval, | |||
$a_obj_id | |||
) |
Definition at line 319 of file class.ilSCORMItem.php.
References ilObjSCORMTracking\_insertTrackData(), and ilSCORMObject\getId().
ilSCORMItem::read | ( | ) |
Reimplemented from ilSCORMObject.
Definition at line 159 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 144 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setIdentifierRef | ( | $a_id_ref | ) |
Definition at line 74 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setImportId | ( | $a_import_id | ) |
Definition at line 64 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setMasteryScore | ( | $a_score | ) |
Definition at line 154 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setMaxTimeAllowed | ( | $a_max | ) |
Definition at line 124 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setParameters | ( | $a_par | ) |
Definition at line 94 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setPrereqType | ( | $a_p_type | ) |
Definition at line 104 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setPrerequisites | ( | $a_pre | ) |
Definition at line 114 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setTimeLimitAction | ( | $a_lim_act | ) |
Definition at line 134 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setVisible | ( | $a_visible | ) |
Definition at line 84 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::update | ( | ) |
Updates database record for SCORM object.
Reimplemented from ilSCORMObject.
Definition at line 211 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 44 of file class.ilSCORMItem.php.
Referenced by getDataFromLms().
ilSCORMItem::$identifierref |
Definition at line 37 of file class.ilSCORMItem.php.
Referenced by getIdentifierRef().
ilSCORMItem::$import_id |
Definition at line 36 of file class.ilSCORMItem.php.
Referenced by getImportId().
ilSCORMItem::$isvisible |
Definition at line 38 of file class.ilSCORMItem.php.
Referenced by getVisible().
ilSCORMItem::$masteryscore |
Definition at line 45 of file class.ilSCORMItem.php.
Referenced by getMasteryScore().
ilSCORMItem::$maxtimeallowed |
Definition at line 42 of file class.ilSCORMItem.php.
Referenced by getMaxTimeAllowed().
ilSCORMItem::$parameters |
Definition at line 39 of file class.ilSCORMItem.php.
Referenced by getParameters().
ilSCORMItem::$prereq_type |
Definition at line 40 of file class.ilSCORMItem.php.
Referenced by getPrereqType().
ilSCORMItem::$prerequisites |
Definition at line 41 of file class.ilSCORMItem.php.
Referenced by getPrerequisites().
ilSCORMItem::$timelimitaction |
Definition at line 43 of file class.ilSCORMItem.php.
Referenced by getTimeLimitAction().