3 declare(strict_types=1);
    39         $lng = $DIC->language();
    55         $this->default_organization = $a_def_org;
    58     public function read(): void
    61         $ilDB = $DIC->database();
    65         $obj_set = 
$ilDB->queryF(
    66             'SELECT default_organization FROM sc_organizations WHERE obj_id = %s',
    70         $obj_rec = 
$ilDB->fetchAssoc($obj_set);
    77         $ilDB = $DIC->database();
    83                         INSERT INTO sc_organizations (obj_id, default_organization) VALUES (%s, %s)',
    84             array(
'integer', 
'text'),
    92         $ilDB = $DIC->database();
    98                         UPDATE sc_organizations     99                         SET default_organization = %s   101             array(
'text', 
'integer'),
   106     public function delete(): 
void   109         $ilDB = $DIC->database();
   114             'DELETE FROM sc_organizations WHERE obj_id = %s',
   116             array($this->
getId())
 setDefaultOrganization(string $a_def_org)
 
__construct(int $a_id=0)
Constructor. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
string $default_organization
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setTitle(string $a_title)
 
__construct(Container $dic, ilPlugin $plugin)