24 require_once(
"./Modules/ScormAicc/classes/SCORM/class.ilSCORMObject.php");
48 parent::__construct($a_id);
59 $this->import_id = $a_import_id;
69 $this->structure = $a_structure;
79 $query =
'SELECT import_id, structure FROM sc_organization WHERE obj_id = %s';
80 $obj_set =
$ilDB->queryF(
85 $obj_rec =
$ilDB->fetchAssoc($obj_set);
98 $query =
'INSERT INTO sc_organization (obj_id, import_id, structure) VALUES(%s, %s, %s)';
101 array(
'integer',
'text',
'text'),
109 $ilDB = $DIC[
'ilDB'];
113 $query =
'UPDATE sc_organization SET import_id = %s, structure = %s WHERE obj_id = %s';
116 array(
'text',
'text',
'integer'),
121 public function delete()
124 $ilDB = $DIC[
'ilDB'];
128 $query =
'DELETE FROM sc_organization WHERE obj_id = %s';
132 array($this->
getId())
setStructure($a_structure)
__construct($a_id=0)
Constructor.
Parent object for all SCORM objects, that are stored in table scorm_object.
update($pash, $contents, Config $config)
setImportId($a_import_id)