ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (int $a_id=0) | |
getImportId () | |
setImportId (string $a_import_id) | |
getIdentifierRef () | |
setIdentifierRef (string $a_id_ref) | |
getVisible () | |
setVisible (bool $a_visible) | |
getParameters () | |
setParameters (?string $a_par) | |
getPrereqType () | |
setPrereqType (?string $a_p_type) | |
getPrerequisites () | |
setPrerequisites (?string $a_pre) | |
getMaxTimeAllowed () | |
setMaxTimeAllowed (?string $a_max) | |
getTimeLimitAction () | |
setTimeLimitAction (?string $a_lim_act) | |
getDataFromLms () | |
setDataFromLms (?string $a_data) | |
getMasteryScore () | |
setMasteryScore (?string $a_score) | |
read () | |
create () | |
update () | |
getTrackingDataOfUser (int $a_user_id=0) | |
get tracking data of specified or current user More... | |
delete () | |
insertTrackData (string $a_lval, string $a_rval, int $a_obj_id) | |
![]() | |
__construct (int $a_id=0) | |
Constructor. More... | |
getId () | |
setId (int $a_id) | |
getType () | |
setType (?string $a_type) | |
getTitle () | |
setTitle (string $a_title) | |
getSLMId () | |
setSLMId (int $a_slm_id) | |
read () | |
create () | |
Create database record for SCORM object. More... | |
update () | |
Updates database record for SCORM object. More... | |
delete () | |
Static Public Member Functions | |
static | _lookupTrackingDataOfUser (int $a_item_id, int $a_user_id=0, int $a_obj_id=0) |
static | _getItems (int $a_obj_id) |
static | _lookupTitle (int $a_obj_id) |
![]() | |
static | _lookupPresentableItems (int $a_slm_id) |
Count number of presentable SCOs/Assets of SCORM learning module. More... | |
static & | _getInstance (int $a_id, int $a_slm_id) |
Data Fields | |
string | $import_id |
string | $identifierref |
bool | $isvisible = true |
string | $parameters = null |
string | $prereq_type = null |
string | $prerequisites = null |
string | $maxtimeallowed = null |
string | $timelimitaction = null |
string | $datafromlms = null |
string | $masteryscore = null |
![]() | |
int | $id |
string | $title = "" |
string | $type = null |
int | $slm_id |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning SCORM Item
Definition at line 29 of file class.ilSCORMItem.php.
ilSCORMItem::__construct | ( | int | $a_id = 0 | ) |
int | $a_id | Object ID |
Definition at line 45 of file class.ilSCORMItem.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ilSCORMObject\setType().
|
static |
Definition at line 330 of file class.ilSCORMItem.php.
References $DIC, $ilDB, and $res.
|
static |
Definition at line 350 of file class.ilSCORMItem.php.
References $DIC, $ilDB, and $res.
Referenced by ilLPStatusSCORM\_getStatusInfo().
|
static |
Definition at line 269 of file class.ilSCORMItem.php.
References $DIC, $ilDB, and $ilUser.
Referenced by ilSCORMExplorer\getOutputIcons().
ilSCORMItem::create | ( | ) |
Definition at line 180 of file class.ilSCORMItem.php.
References $DIC, $ilDB, getDataFromLms(), ilSCORMObject\getId(), getIdentifierRef(), getImportId(), getMasteryScore(), getMaxTimeAllowed(), getParameters(), getPrereqType(), getPrerequisites(), getTimeLimitAction(), and getVisible().
ilSCORMItem::delete | ( | ) |
Definition at line 297 of file class.ilSCORMItem.php.
References $DIC, $ilDB, ilLPStatusWrapper\_refreshStatus(), ilSCORMObject\getId(), ilLoggerFactory\getLogger(), and ilSCORMObject\getSLMId().
ilSCORMItem::getDataFromLms | ( | ) |
Definition at line 131 of file class.ilSCORMItem.php.
References $datafromlms.
Referenced by create(), and update().
ilSCORMItem::getIdentifierRef | ( | ) |
Definition at line 61 of file class.ilSCORMItem.php.
References $identifierref.
Referenced by create(), and update().
ilSCORMItem::getImportId | ( | ) |
Definition at line 51 of file class.ilSCORMItem.php.
References $import_id.
Referenced by create(), and update().
ilSCORMItem::getMasteryScore | ( | ) |
Definition at line 141 of file class.ilSCORMItem.php.
References $masteryscore.
Referenced by create(), and update().
ilSCORMItem::getMaxTimeAllowed | ( | ) |
Definition at line 111 of file class.ilSCORMItem.php.
References $maxtimeallowed.
Referenced by create(), and update().
ilSCORMItem::getParameters | ( | ) |
Definition at line 81 of file class.ilSCORMItem.php.
References $parameters.
Referenced by create(), and update().
ilSCORMItem::getPrereqType | ( | ) |
Definition at line 91 of file class.ilSCORMItem.php.
References $prereq_type.
Referenced by create(), and update().
ilSCORMItem::getPrerequisites | ( | ) |
Definition at line 101 of file class.ilSCORMItem.php.
References $prerequisites.
Referenced by create(), and update().
ilSCORMItem::getTimeLimitAction | ( | ) |
Definition at line 121 of file class.ilSCORMItem.php.
References $timelimitaction.
Referenced by create(), and update().
ilSCORMItem::getTrackingDataOfUser | ( | int | $a_user_id = 0 | ) |
get tracking data of specified or current user
Definition at line 238 of file class.ilSCORMItem.php.
References $DIC, $ilDB, $ilUser, ilSCORMObject\getId(), and ilSCORMObject\getSLMId().
ilSCORMItem::getVisible | ( | ) |
Definition at line 71 of file class.ilSCORMItem.php.
References $isvisible.
Referenced by create(), and update().
ilSCORMItem::insertTrackData | ( | string | $a_lval, |
string | $a_rval, | ||
int | $a_obj_id | ||
) |
Definition at line 321 of file class.ilSCORMItem.php.
References ilObjSCORMTracking\_insertTrackData(), and ilSCORMObject\getId().
ilSCORMItem::read | ( | ) |
Definition at line 151 of file class.ilSCORMItem.php.
References $DIC, $ilDB, ilSCORMObject\getId(), setDataFromLms(), setIdentifierRef(), setImportId(), setMasteryScore(), setMaxTimeAllowed(), setParameters(), setPrereqType(), setPrerequisites(), setTimeLimitAction(), and setVisible().
ilSCORMItem::setDataFromLms | ( | ?string | $a_data | ) |
Definition at line 136 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setIdentifierRef | ( | string | $a_id_ref | ) |
Definition at line 66 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setImportId | ( | string | $a_import_id | ) |
Definition at line 56 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setMasteryScore | ( | ?string | $a_score | ) |
Definition at line 146 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setMaxTimeAllowed | ( | ?string | $a_max | ) |
Definition at line 116 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setParameters | ( | ?string | $a_par | ) |
Definition at line 86 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setPrereqType | ( | ?string | $a_p_type | ) |
Definition at line 96 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setPrerequisites | ( | ?string | $a_pre | ) |
Definition at line 106 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setTimeLimitAction | ( | ?string | $a_lim_act | ) |
Definition at line 126 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::setVisible | ( | bool | $a_visible | ) |
Definition at line 76 of file class.ilSCORMItem.php.
Referenced by read().
ilSCORMItem::update | ( | ) |
Definition at line 204 of file class.ilSCORMItem.php.
References $DIC, $ilDB, getDataFromLms(), ilSCORMObject\getId(), getIdentifierRef(), getImportId(), getMasteryScore(), getMaxTimeAllowed(), getParameters(), getPrereqType(), getPrerequisites(), getTimeLimitAction(), and getVisible().
string ilSCORMItem::$datafromlms = null |
Definition at line 39 of file class.ilSCORMItem.php.
Referenced by getDataFromLms().
string ilSCORMItem::$identifierref |
Definition at line 32 of file class.ilSCORMItem.php.
Referenced by getIdentifierRef().
string ilSCORMItem::$import_id |
Definition at line 31 of file class.ilSCORMItem.php.
Referenced by getImportId().
bool ilSCORMItem::$isvisible = true |
Definition at line 33 of file class.ilSCORMItem.php.
Referenced by getVisible().
string ilSCORMItem::$masteryscore = null |
Definition at line 40 of file class.ilSCORMItem.php.
Referenced by getMasteryScore().
string ilSCORMItem::$maxtimeallowed = null |
Definition at line 37 of file class.ilSCORMItem.php.
Referenced by getMaxTimeAllowed().
string ilSCORMItem::$parameters = null |
Definition at line 34 of file class.ilSCORMItem.php.
Referenced by getParameters().
string ilSCORMItem::$prereq_type = null |
Definition at line 35 of file class.ilSCORMItem.php.
Referenced by getPrereqType().
string ilSCORMItem::$prerequisites = null |
Definition at line 36 of file class.ilSCORMItem.php.
Referenced by getPrerequisites().
string ilSCORMItem::$timelimitaction = null |
Definition at line 38 of file class.ilSCORMItem.php.
Referenced by getTimeLimitAction().