19declare(strict_types=1);
55 $this->default_organization = $a_def_org;
58 public function read(): void
65 $obj_set =
$ilDB->queryF(
66 'SELECT default_organization FROM sc_organizations WHERE obj_id = %s',
70 $obj_rec =
$ilDB->fetchAssoc($obj_set);
83 INSERT INTO sc_organizations (obj_id, default_organization) VALUES (%s, %s)',
84 array(
'integer',
'text'),
98 UPDATE sc_organizations
99 SET default_organization = %s
101 array(
'text',
'integer'),
106 public function delete():
void
114 'DELETE FROM sc_organizations WHERE obj_id = %s',
116 array($this->
getId())
Parent object for all SCORM objects, that are stored in table scorm_object.
setTitle(string $a_title)
__construct(int $a_id=0)
Constructor.
update()
Updates database record for SCORM object.
create()
Create database record for SCORM object.
string $default_organization
setDefaultOrganization(string $a_def_org)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc