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);
 
   89                        INSERT INTO sc_organizations (obj_id, default_organization) VALUES (%s, %s)',
 
   90            array(
'integer', 
'text'),
 
  103                        UPDATE sc_organizations  
  104                        SET default_organization = %s 
  106            array(
'text', 
'integer'),
 
  111    public function delete()
 
  118            'DELETE FROM sc_organizations WHERE obj_id = %s',
 
  120            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.
update($pash, $contents, Config $config)