ILIAS
Release_4_2_x_branch Revision 61807
|
SCORM Resource. More...
Public Member Functions | |
ilSCORMResource ($a_id=0) | |
Constructor. | |
getImportId () | |
setImportId ($a_import_id) | |
getResourceType () | |
setResourceType ($a_type) | |
getScormType () | |
setScormType ($a_scormtype) | |
getHRef () | |
setHRef ($a_href) | |
getXmlBase () | |
setXmlBase ($a_xml_base) | |
addFile (&$a_file_obj) | |
& | getFiles () |
addDependency (&$a_dependency) | |
& | getDependencies () |
read () | |
readByIdRef ($a_id_ref, $a_slm_id) | |
_lookupIdByIdRef ($a_id_ref, $a_slm_id) | |
_lookupScormType ($a_obj_id) | |
create () | |
Create database record for SCORM object. | |
update () | |
Updates database record for SCORM object. | |
delete () | |
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 | |
$resourcetype | |
$scormtype | |
$href | |
$xml_base | |
$files | |
$dependencies | |
Data Fields inherited from ilSCORMObject | |
$id | |
$title | |
$type | |
$slm_id |
SCORM Resource.
Definition at line 36 of file class.ilSCORMResource.php.
ilSCORMResource::_lookupIdByIdRef | ( | $a_id_ref, | |
$a_slm_id | |||
) |
Definition at line 202 of file class.ilSCORMResource.php.
References $ilBench, and $ilDB.
Referenced by ilSCORMPresentationGUI\api(), and ilSCORMExplorer\formatObject().
ilSCORMResource::_lookupScormType | ( | $a_obj_id | ) |
Definition at line 222 of file class.ilSCORMResource.php.
References $ilDB.
Referenced by ilSCORMPresentationGUI\api(), and ilSCORMExplorer\formatObject().
ilSCORMResource::addDependency | ( | & | $a_dependency | ) |
Definition at line 123 of file class.ilSCORMResource.php.
Referenced by read().
ilSCORMResource::addFile | ( | & | $a_file_obj | ) |
Definition at line 113 of file class.ilSCORMResource.php.
Referenced by read().
ilSCORMResource::create | ( | ) |
Create database record for SCORM object.
Reimplemented from ilSCORMObject.
Definition at line 238 of file class.ilSCORMResource.php.
References $ilDB, ilSCORMObject\getId(), getImportId(), getResourceType(), getScormType(), and getXmlBase().
ilSCORMResource::delete | ( | ) |
Reimplemented from ilSCORMObject.
Definition at line 348 of file class.ilSCORMResource.php.
References $ilDB, and ilSCORMObject\getId().
& ilSCORMResource::getDependencies | ( | ) |
Definition at line 128 of file class.ilSCORMResource.php.
References $dependencies.
& ilSCORMResource::getFiles | ( | ) |
Definition at line 118 of file class.ilSCORMResource.php.
References $files.
ilSCORMResource::getHRef | ( | ) |
Definition at line 92 of file class.ilSCORMResource.php.
References $href.
Referenced by update().
ilSCORMResource::getImportId | ( | ) |
Definition at line 62 of file class.ilSCORMResource.php.
References $import_id.
Referenced by create(), and update().
ilSCORMResource::getResourceType | ( | ) |
Definition at line 72 of file class.ilSCORMResource.php.
References $resourcetype.
Referenced by create(), and update().
ilSCORMResource::getScormType | ( | ) |
Definition at line 82 of file class.ilSCORMResource.php.
References $scormtype.
Referenced by create(), and update().
ilSCORMResource::getXmlBase | ( | ) |
Definition at line 103 of file class.ilSCORMResource.php.
References $xml_base.
Referenced by create(), and update().
ilSCORMResource::ilSCORMResource | ( | $a_id = 0 | ) |
Constructor.
int | $a_id | Object ID public |
Definition at line 53 of file class.ilSCORMResource.php.
References ilSCORMObject\ilSCORMObject(), and ilSCORMObject\setType().
ilSCORMResource::read | ( | ) |
Reimplemented from ilSCORMObject.
Definition at line 133 of file class.ilSCORMResource.php.
References $ilDB, addDependency(), addFile(), ilSCORMObject\getId(), setHRef(), setImportId(), setResourceType(), setScormType(), and setXmlBase().
Referenced by readByIdRef().
ilSCORMResource::readByIdRef | ( | $a_id_ref, | |
$a_slm_id | |||
) |
Definition at line 178 of file class.ilSCORMResource.php.
References $ilBench, $ilDB, read(), and ilSCORMObject\setId().
ilSCORMResource::setHRef | ( | $a_href | ) |
Definition at line 97 of file class.ilSCORMResource.php.
References ilSCORMObject\setTitle().
Referenced by read().
ilSCORMResource::setImportId | ( | $a_import_id | ) |
Definition at line 67 of file class.ilSCORMResource.php.
Referenced by read().
ilSCORMResource::setResourceType | ( | $a_type | ) |
Definition at line 77 of file class.ilSCORMResource.php.
Referenced by read().
ilSCORMResource::setScormType | ( | $a_scormtype | ) |
Definition at line 87 of file class.ilSCORMResource.php.
Referenced by read().
ilSCORMResource::setXmlBase | ( | $a_xml_base | ) |
Definition at line 108 of file class.ilSCORMResource.php.
Referenced by read().
ilSCORMResource::update | ( | ) |
Updates database record for SCORM object.
Reimplemented from ilSCORMObject.
Definition at line 286 of file class.ilSCORMResource.php.
References $ilDB, getHRef(), ilSCORMObject\getId(), getImportId(), getResourceType(), getScormType(), and getXmlBase().
ilSCORMResource::$dependencies |
Definition at line 44 of file class.ilSCORMResource.php.
Referenced by getDependencies().
ilSCORMResource::$files |
Definition at line 43 of file class.ilSCORMResource.php.
Referenced by getFiles().
ilSCORMResource::$href |
Definition at line 41 of file class.ilSCORMResource.php.
Referenced by getHRef().
ilSCORMResource::$import_id |
Definition at line 38 of file class.ilSCORMResource.php.
Referenced by getImportId().
ilSCORMResource::$resourcetype |
Definition at line 39 of file class.ilSCORMResource.php.
Referenced by getResourceType().
ilSCORMResource::$scormtype |
Definition at line 40 of file class.ilSCORMResource.php.
Referenced by getScormType().
ilSCORMResource::$xml_base |
Definition at line 42 of file class.ilSCORMResource.php.
Referenced by getXmlBase().