| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Inheritance diagram for ilSCORMResource:
 Collaboration diagram for ilSCORMResource:Public Member Functions | |
| __construct (int $a_id=0) | |
| getImportId () | |
| setImportId (string $a_import_id) | |
| getResourceType () | |
| setResourceType (string $a_type) | |
| getScormType () | |
| setScormType (?string $a_scormtype) | |
| getHRef () | |
| setHRef (?string $a_href) | |
| getXmlBase () | |
| setXmlBase (?string $a_xml_base) | |
| addFile (ilSCORMResourceFile $a_file_obj) | |
| & | getFiles () | 
| addDependency (ilSCORMResourceDependency $a_dependency) | |
| & | getDependencies () | 
| read () | |
| readByIdRef (string $a_id_ref, int $a_slm_id) | |
| create () | |
| update () | |
| delete () | |
  Public Member Functions inherited from ilSCORMObject | |
| __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 | _lookupIdByIdRef (string $a_id_ref, int $a_slm_id) | 
| static | _lookupScormType (int $a_obj_id) | 
  Static Public Member Functions inherited from ilSCORMObject | |
| 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 | $resourcetype | 
| string | $scormtype = null | 
| string | $href = null | 
| string | $xml_base = null | 
| array | $files | 
| array | $dependencies | 
  Data Fields inherited from ilSCORMObject | |
| 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 Resource
Definition at line 28 of file class.ilSCORMResource.php.
| ilSCORMResource::__construct | ( | int | $a_id = 0 | ) | 
| int | $a_id | Object ID | 
Definition at line 41 of file class.ilSCORMResource.php.
References ILIAS\MetaData\Repository\Validation\Data\__construct(), and ilSCORMObject\setType().
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 189 of file class.ilSCORMResource.php.
Referenced by ilSCORMExplorer\insertObject().
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 210 of file class.ilSCORMResource.php.
Referenced by ilSCORMExplorer\insertObject().
 Here is the caller graph for this function:| ilSCORMResource::addDependency | ( | ilSCORMResourceDependency | $a_dependency | ) | 
Definition at line 110 of file class.ilSCORMResource.php.
Referenced by read().
 Here is the caller graph for this function:| ilSCORMResource::addFile | ( | ilSCORMResourceFile | $a_file_obj | ) | 
Definition at line 100 of file class.ilSCORMResource.php.
Referenced by read().
 Here is the caller graph for this function:| ilSCORMResource::create | ( | ) | 
Definition at line 226 of file class.ilSCORMResource.php.
References $DIC, $ilDB, ilSCORMObject\getId(), getImportId(), getResourceType(), getScormType(), and getXmlBase().
 Here is the call graph for this function:| ilSCORMResource::delete | ( | ) | 
Definition at line 338 of file class.ilSCORMResource.php.
References $DIC, $ilDB, and ilSCORMObject\getId().
 Here is the call graph for this function:| & ilSCORMResource::getDependencies | ( | ) | 
| & ilSCORMResource::getFiles | ( | ) | 
| ilSCORMResource::getHRef | ( | ) | 
Definition at line 79 of file class.ilSCORMResource.php.
References $href.
Referenced by update().
 Here is the caller graph for this function:| ilSCORMResource::getImportId | ( | ) | 
Definition at line 49 of file class.ilSCORMResource.php.
References $import_id.
Referenced by create(), and update().
 Here is the caller graph for this function:| ilSCORMResource::getResourceType | ( | ) | 
Definition at line 59 of file class.ilSCORMResource.php.
References $resourcetype.
Referenced by create(), and update().
 Here is the caller graph for this function:| ilSCORMResource::getScormType | ( | ) | 
Definition at line 69 of file class.ilSCORMResource.php.
References $scormtype.
Referenced by create(), and update().
 Here is the caller graph for this function:| ilSCORMResource::getXmlBase | ( | ) | 
Definition at line 90 of file class.ilSCORMResource.php.
References $xml_base.
Referenced by create(), and update().
 Here is the caller graph for this function:| ilSCORMResource::read | ( | ) | 
Definition at line 120 of file class.ilSCORMResource.php.
References $DIC, $ilDB, addDependency(), addFile(), ilSCORMObject\getId(), setHRef(), setImportId(), setResourceType(), setScormType(), and setXmlBase().
Referenced by readByIdRef().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSCORMResource::readByIdRef | ( | string | $a_id_ref, | 
| int | $a_slm_id | ||
| ) | 
Definition at line 164 of file class.ilSCORMResource.php.
References $DIC, $ilDB, read(), and ilSCORMObject\setId().
 Here is the call graph for this function:| ilSCORMResource::setHRef | ( | ?string | $a_href | ) | 
Definition at line 84 of file class.ilSCORMResource.php.
References ilSCORMObject\setTitle().
Referenced by read().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilSCORMResource::setImportId | ( | string | $a_import_id | ) | 
Definition at line 54 of file class.ilSCORMResource.php.
Referenced by read().
 Here is the caller graph for this function:| ilSCORMResource::setResourceType | ( | string | $a_type | ) | 
Definition at line 64 of file class.ilSCORMResource.php.
Referenced by read().
 Here is the caller graph for this function:| ilSCORMResource::setScormType | ( | ?string | $a_scormtype | ) | 
Definition at line 74 of file class.ilSCORMResource.php.
Referenced by read().
 Here is the caller graph for this function:| ilSCORMResource::setXmlBase | ( | ?string | $a_xml_base | ) | 
Definition at line 95 of file class.ilSCORMResource.php.
Referenced by read().
 Here is the caller graph for this function:| ilSCORMResource::update | ( | ) | 
Definition at line 275 of file class.ilSCORMResource.php.
References $DIC, $ilDB, getHRef(), ilSCORMObject\getId(), getImportId(), getResourceType(), getScormType(), and getXmlBase().
 Here is the call graph for this function:| array ilSCORMResource::$dependencies | 
Definition at line 36 of file class.ilSCORMResource.php.
Referenced by getDependencies().
| array ilSCORMResource::$files | 
Definition at line 35 of file class.ilSCORMResource.php.
Referenced by getFiles().
| string ilSCORMResource::$href = null | 
Definition at line 33 of file class.ilSCORMResource.php.
Referenced by getHRef().
| string ilSCORMResource::$import_id | 
Definition at line 30 of file class.ilSCORMResource.php.
Referenced by getImportId().
| string ilSCORMResource::$resourcetype | 
Definition at line 31 of file class.ilSCORMResource.php.
Referenced by getResourceType().
| string ilSCORMResource::$scormtype = null | 
Definition at line 32 of file class.ilSCORMResource.php.
Referenced by getScormType().
| string ilSCORMResource::$xml_base = null | 
Definition at line 34 of file class.ilSCORMResource.php.
Referenced by getXmlBase().