24require_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;
 
   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'),
 
  118    public function delete()
 
  124        $query = 
'DELETE FROM sc_organization WHERE obj_id = %s';
 
  128            array($this->
getId())
 
An exception for terminatinating execution or to throw for unit testing.
Parent object for all SCORM objects, that are stored in table scorm_object.
setImportId($a_import_id)
create()
Create database record for SCORM object.
update()
Updates database record for SCORM object.
setStructure($a_structure)
__construct($a_id=0)
Constructor.
update($pash, $contents, Config $config)