3 declare(strict_types=1);
    50         $this->import_id = $a_import_id;
    60         $this->structure = $a_structure;
    63     public function read(): void
    66         $ilDB = $DIC->database();
    70         $query = 
'SELECT import_id, structure FROM sc_organization WHERE obj_id = %s';
    71         $obj_set = 
$ilDB->queryF(
    76         $obj_rec = 
$ilDB->fetchAssoc($obj_set);
    85         $ilDB = $DIC->database();
    89         $query = 
'INSERT INTO sc_organization (obj_id, import_id, structure) VALUES(%s, %s, %s)';
    92             array(
'integer', 
'text', 
'text'),
   100         $ilDB = $DIC->database();
   104         $query = 
'UPDATE sc_organization SET import_id = %s, structure = %s WHERE obj_id = %s';
   107             array(
'text', 
'text', 
'integer'),
   112     public function delete(): 
void   115         $ilDB = $DIC->database();
   119         $query = 
'DELETE FROM sc_organization WHERE obj_id = %s';
   123             array($this->
getId())
 
__construct(int $a_id=0)
Constructor. 
 
setStructure(?string $a_structure)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setImportId(string $a_import_id)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
__construct(Container $dic, ilPlugin $plugin)