3 declare(strict_types=1);
80 $this->db = $DIC->database();
82 if ($a_obj_id === 0) {
83 $a_obj_id = $a_rbac_id;
88 $this->rbac_id = $a_rbac_id;
89 $this->obj_id = $a_obj_id;
90 $this->obj_type = $a_type;
93 abstract public function read(): bool;
98 $this->rbac_id = $a_id;
108 $this->obj_id = $a_id;
118 $this->obj_type = $a_type;
126 public function setMetaId(
int $a_meta_id,
bool $a_read_data =
true): void
128 $this->meta_id = $a_meta_id;
142 $this->parent_type = $a_parent_type;
152 $this->parent_id = $a_id;
162 $this->export_mode = $a_export_mode;
185 public function delete():
bool
static getLogger(string $a_component_id)
Get component logger.
bool $export_mode
export mode, if true, first Identifier will be set to ILIAS/il_<INSTALL_ID>_<TYPE>_<ID> ...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(int $a_rbac_id=0, int $a_obj_id=0, string $a_type='')
constructor
int $obj_id
obj_id (e.g for structure objects the obj_id of the structure object)
setExportMode(bool $a_export_mode=true)
int $rbac_id
object id (NOT ref_id!) of rbac object (e.g for page objects the obj_id of the content object; for me...
string $obj_type
type of the object (e.g st,pg,crs ...)
setParentType(string $a_parent_type)
setMetaId(int $a_meta_id, bool $a_read_data=true)
toXML(ilXmlWriter $writer)
setObjType(string $a_type)