ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
SCORM Resource. More...
Public Member Functions | |
__construct ($a_id=0) | |
Constructor. More... | |
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) | |
create () | |
update () | |
delete () | |
Public Member Functions inherited from ilSCORMObject | |
__construct ($a_id=0) | |
Constructor. More... | |
getId () | |
setId ($a_id) | |
getType () | |
setType ($a_type) | |
getTitle () | |
setTitle ($a_title) | |
getSLMId () | |
setSLMId ($a_slm_id) | |
read () | |
create () | |
Create database record for SCORM object. More... | |
update () | |
Updates database record for SCORM object. More... | |
delete () | |
& | _getInstance ($a_id, $a_slm_id) |
get instance of specialized GUI class More... | |
Static Public Member Functions | |
static | _lookupIdByIdRef ($a_id_ref, $a_slm_id) |
static | _lookupScormType ($a_obj_id) |
Static Public Member Functions inherited from ilSCORMObject | |
static | _lookupPresentableItems ($a_slm_id) |
Count number of presentable SCOs/Assets of SCORM learning module. More... | |
Data Fields | |
$import_id | |
$resourcetype | |
$scormtype | |
$href | |
$xml_base | |
$files | |
$dependencies | |
Data Fields inherited from ilSCORMObject | |
$id | |
$title | |
$type | |
$slm_id | |
ilSCORMResource::__construct | ( | $a_id = 0 | ) |
Constructor.
int | $a_id | Object ID public |
Definition at line 53 of file class.ilSCORMResource.php.
References array, and ilSCORMObject\setType().
|
static |
Definition at line 202 of file class.ilSCORMResource.php.
References $ilBench, $ilDB, and array.
Referenced by ilSCORMPresentationGUI\api(), and ilSCORMExplorer\insertObject().
|
static |
Definition at line 222 of file class.ilSCORMResource.php.
Referenced by ilSCORMPresentationGUI\api(), and ilSCORMExplorer\insertObject().
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 | ( | ) |
Definition at line 238 of file class.ilSCORMResource.php.
References $ilDB, array, ilSCORMObject\getId(), getImportId(), getResourceType(), getScormType(), and getXmlBase().
ilSCORMResource::delete | ( | ) |
Definition at line 348 of file class.ilSCORMResource.php.
References $ilDB, array, and ilSCORMObject\getId().
& ilSCORMResource::getDependencies | ( | ) |
& ilSCORMResource::getFiles | ( | ) |
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::read | ( | ) |
Definition at line 133 of file class.ilSCORMResource.php.
References $ilDB, addDependency(), addFile(), array, 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, array, 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.
References $a_type.
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 | ( | ) |
Definition at line 286 of file class.ilSCORMResource.php.
References $ilDB, array, 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().