24 require_once(
"./Modules/ScormAicc/classes/SCORM/class.ilSCORMObject.php");
49 parent::__construct($a_id);
60 $this->import_id = $a_import_id;
71 $this->version = $a_version;
81 $this->xml_base = $a_xml_base;
91 $obj_set =
$ilDB->queryF(
92 'SELECT * FROM sc_manifest WHERE obj_id = %s',
96 $obj_rec =
$ilDB->fetchAssoc($obj_set);
106 $ilDB = $DIC[
'ilDB'];
112 INSERT INTO sc_manifest (obj_id, import_id, version, xml_base) 113 VALUES (%s,%s,%s,%s)',
114 array(
'integer',
'text',
'text',
'text'),
122 $ilDB = $DIC[
'ilDB'];
133 array(
'text',
'text',
'text',
'integer'),
138 public function delete()
141 $ilDB = $DIC[
'ilDB'];
145 $ilDB->manipulateF(
'DELETE FROM sc_manifest WHERE obj_id = %s', array(
'integer'), array($this->
getId()));
__construct($a_id=0)
Constructor.
Parent object for all SCORM objects, that are stored in table scorm_object.
setImportId($a_import_id)
update($pash, $contents, Config $config)