24require_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'),
107 UPDATE sc_organizations
108 SET default_organization = %s
110 array(
'text',
'integer'),
115 public function delete()
123 'DELETE FROM sc_organizations WHERE obj_id = %s',
125 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)