ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 () | |
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... | |
static & | _getInstance ($a_id, $a_slm_id) |
get instance of specialized GUI class 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, files, and ilSCORMObject\setType().
|
static |
Definition at line 198 of file class.ilSCORMResource.php.
References $ilBench, $ilDB, and array.
Referenced by ilSCORMPresentationGUI\api(), and ilSCORMExplorer\insertObject().
|
static |
Definition at line 217 of file class.ilSCORMResource.php.
Referenced by ilSCORMPresentationGUI\api(), and ilSCORMExplorer\insertObject().
ilSCORMResource::addDependency | ( | & | $a_dependency | ) |
Definition at line 122 of file class.ilSCORMResource.php.
Referenced by read().
ilSCORMResource::addFile | ( | & | $a_file_obj | ) |
Definition at line 112 of file class.ilSCORMResource.php.
References files.
Referenced by read().
ilSCORMResource::create | ( | ) |
Definition at line 232 of file class.ilSCORMResource.php.
References $i, $ilDB, array, files, ilSCORMObject\getId(), getImportId(), getResourceType(), getScormType(), and getXmlBase().
ilSCORMResource::delete | ( | ) |
Definition at line 342 of file class.ilSCORMResource.php.
References $ilDB, array, and ilSCORMObject\getId().
& ilSCORMResource::getDependencies | ( | ) |
& ilSCORMResource::getFiles | ( | ) |
ilSCORMResource::getHRef | ( | ) |
Definition at line 91 of file class.ilSCORMResource.php.
References $href.
Referenced by update().
ilSCORMResource::getImportId | ( | ) |
Definition at line 61 of file class.ilSCORMResource.php.
References $import_id.
Referenced by create(), and update().
ilSCORMResource::getResourceType | ( | ) |
Definition at line 71 of file class.ilSCORMResource.php.
References $resourcetype.
Referenced by create(), and update().
ilSCORMResource::getScormType | ( | ) |
Definition at line 81 of file class.ilSCORMResource.php.
References $scormtype.
Referenced by create(), and update().
ilSCORMResource::getXmlBase | ( | ) |
Definition at line 102 of file class.ilSCORMResource.php.
References $xml_base.
Referenced by create(), and update().
ilSCORMResource::read | ( | ) |
Definition at line 132 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 175 of file class.ilSCORMResource.php.
References $ilBench, $ilDB, array, read(), and ilSCORMObject\setId().
ilSCORMResource::setHRef | ( | $a_href | ) |
Definition at line 96 of file class.ilSCORMResource.php.
References ilSCORMObject\setTitle().
Referenced by read().
ilSCORMResource::setImportId | ( | $a_import_id | ) |
Definition at line 66 of file class.ilSCORMResource.php.
Referenced by read().
ilSCORMResource::setResourceType | ( | $a_type | ) |
Definition at line 76 of file class.ilSCORMResource.php.
References $a_type.
Referenced by read().
ilSCORMResource::setScormType | ( | $a_scormtype | ) |
Definition at line 86 of file class.ilSCORMResource.php.
Referenced by read().
ilSCORMResource::setXmlBase | ( | $a_xml_base | ) |
Definition at line 107 of file class.ilSCORMResource.php.
Referenced by read().
ilSCORMResource::update | ( | ) |
Definition at line 280 of file class.ilSCORMResource.php.
References $i, $ilDB, array, files, getHRef(), ilSCORMObject\getId(), getImportId(), getResourceType(), getScormType(), getXmlBase(), and League\Flysystem\Adapter\Polyfill\update().
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().