3 declare(strict_types=1);
    39         $lng = $DIC->language();
    54         $this->xml_base = $a_xml_base;
    57     public function read(): void
    60         $ilDB = $DIC->database();
    64         $obj_set = 
$ilDB->queryF(
    65             'SELECT xml_base FROM sc_resources WHERE obj_id = %s',
    69         $obj_rec = 
$ilDB->fetchAssoc($obj_set);
    76         $ilDB = $DIC->database();
    81             'INSERT INTO sc_resources (obj_id, xml_base) VALUES (%s, %s)',
    82             array(
'integer', 
'text'),
    90         $ilDB = $DIC->database();
    96                         UPDATE sc_resources SET xml_base = %s WHERE obj_id = %s',
    97             array(
'text', 
'integer'),
   102     public function delete(): 
void   105         $ilDB = $DIC->database();
   110             'DELETE FROM sc_resources WHERE obj_id = %s',
   112             array($this->
getId())
 
setXmlBase(?string $a_xml_base)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
setTitle(string $a_title)
 
__construct(int $a_id=0)
Constructor. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...