24 require_once(
"./Modules/ScormAicc/classes/SCORM/class.ilSCORMObject.php");
59 $this->import_id = $a_import_id;
69 $this->structure = $a_structure;
78 $query =
'SELECT import_id, structure FROM sc_organization WHERE obj_id = %s';
79 $obj_set = $ilDB->queryF(
84 $obj_rec = $ilDB->fetchAssoc($obj_set);
96 $query =
'INSERT INTO sc_organization (obj_id, import_id, structure) VALUES(%s, %s, %s)';
99 array(
'integer',
'text',
'text'),
110 $query =
'UPDATE sc_organization SET import_id = %s, structure = %s WHERE obj_id = %s';
113 array(
'text',
'text',
'integer'),
124 $query =
'DELETE FROM sc_organization WHERE obj_id = %s';
128 array($this->
getId())