3 declare(strict_types=1);
81 $this->db = $DIC->database();
83 if ($a_obj_id === 0) {
84 $a_obj_id = $a_rbac_id;
89 $this->rbac_id = $a_rbac_id;
90 $this->obj_id = $a_obj_id;
91 $this->obj_type = $a_type;
94 abstract public function read(): bool;
99 $this->rbac_id = $a_id;
109 $this->obj_id = $a_id;
119 $this->obj_type = $a_type;
127 public function setMetaId(
int $a_meta_id,
bool $a_read_data =
true): void
129 $this->meta_id = $a_meta_id;
143 $this->parent_type = $a_parent_type;
153 $this->parent_id = $a_id;
163 $this->export_mode = $a_export_mode;
186 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> ...
__construct(int $a_rbac_id=0, int $a_obj_id=0, string $a_type='')
constructor
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
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)