24 require_once(
"./Modules/ScormAicc/classes/SCORM/class.ilSCORMObject.php");
53 parent::__construct($a_id);
64 $this->default_organization = $a_def_org;
74 $obj_set =
$ilDB->queryF(
75 'SELECT default_organization FROM sc_organizations WHERE obj_id = %s',
79 $obj_rec =
$ilDB->fetchAssoc($obj_set);
92 INSERT INTO sc_organizations (obj_id, default_organization) VALUES (%s, %s)',
93 array(
'integer',
'text'),
101 $ilDB = $DIC[
'ilDB'];
107 UPDATE sc_organizations 108 SET default_organization = %s 110 array(
'text',
'integer'),
115 public function delete()
118 $ilDB = $DIC[
'ilDB'];
123 'DELETE FROM sc_organizations WHERE obj_id = %s',
125 array($this->
getId())
__construct($a_id=0)
Constructor.
setDefaultOrganization($a_def_org)
Parent object for all SCORM objects, that are stored in table scorm_object.
update($pash, $contents, Config $config)