18 declare(strict_types=1);
    31         $this->db = $DIC->database();
    39         $query = 
"SELECT organization FROM " . $this->db->quoteIdentifier(
    42             " WHERE obj_id = " . $this->db->quote($a_obj_id, 
'integer') . 
" ";
    43         $res = $this->db->query($query);
    45             return $row->organization ?? 
'';
    52         $this->
ctrl->setReturnByClass(
    64         if ($shy_modal === 
'') {
    65             parent::insertTitle();
    69         $this->tpl->setCurrentBlock(
"item_title");
    70         $this->tpl->setVariable(
"TXT_TITLE", $consent_gui->getTitleLink());
    71         $this->tpl->parseCurrentBlock();
    87         if ($consent_gui->hasConsented()) {
    88             return parent::getAsCard($ref_id, $obj_id, $type, $title, $description);
    91         $this->
ctrl->setReturnByClass(
    95         $card = parent::getAsCard($ref_id, $obj_id, $type, $title, $description);
    97             return $consent_gui->addConsentModalToCard($card);
   106             $this->
user->getId(),
   110         $command = parent::createDefaultCommand($command);
   111         if ($consent_gui->hasConsented()) {
   114         $command[
'link'] = 
'';
   115         $command[
'frame'] = 
'';
   121         $classname = $this->obj_definition->getClassName($this->type);
   122         return 'ilObj' . $classname . 
'GUI';
 
_lookupOrganization(string $table, int $a_obj_id)
lookup organization 
 
getAsCard(int $ref_id, int $obj_id, string $type, string $title, string $description)
 
createDefaultCommand(array $command)