24require_once(
"./Modules/ScormAicc/classes/SCORM/class.ilSCORMObject.php");
 
   50                $this->
setTitle($lng->txt(
"cont_organizations"));
 
   52                parent::__construct($a_id);
 
   63                $this->default_organization = $a_def_org;
 
   72                $obj_set = 
$ilDB->queryF(
 
   73                        'SELECT default_organization FROM sc_organizations WHERE obj_id = %s',
 
   77                $obj_rec = 
$ilDB->fetchAssoc($obj_set);
 
   88                        INSERT INTO sc_organizations (obj_id, default_organization) VALUES (%s, %s)',
 
   89                        array(
'integer', 
'text'), 
 
  101                        UPDATE sc_organizations  
  102                        SET default_organization = %s 
  104                        array(
'text', 
'integer'), 
 
  116                        'DELETE FROM sc_organizations WHERE obj_id = %s',
 
  118                        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.
setDefaultOrganization($a_def_org)
update()
Updates database record for SCORM object.
create()
Create database record for SCORM object.
__construct($a_id=0)
Constructor.