19 declare(strict_types=1);
    32     public function __construct(
int $a_id = 0, 
int $a_id_type = self::REPOSITORY_NODE_ID, 
int $a_parent_node_id = 0)
    37         $this->legal_notice_gui->setPresentationTitle($this->
lng->txt(
"adm_imprint"));
    49         $nextClass = $this->
ctrl->getNextClass($this);
    50         $cmd = $this->
ctrl->getCmd();
    53         switch (strtolower($nextClass)) {
    54             case strtolower(ilPermissionGUI::class):
    56                 $this->
ctrl->forwardCommand($perm_gui);
    58             case (strtolower(ilImprintGUI::class)):
    60                     $this->legal_notice_gui->setEnableEditing(
false);
    62                 $ret = $this->
ctrl->forwardCommand($this->legal_notice_gui);
    64                 $this->tpl->setContent($ret);
    68                 if (method_exists($this, $cmd)) {
    69                     $this->tpl->setContent($this->$cmd());
    77         $this->
ctrl->setCmd(
'preview');
    78         return $this->
ctrl->forwardCommand($this->legal_notice_gui);
 
New implementation of ilObjectGUI. 
 
prepareOutput(bool $show_sub_objects=true)
 
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $node_id=null)
 
ilImprintGUI $legal_notice_gui
 
__construct(int $a_id=0, int $a_id_type=self::REPOSITORY_NODE_ID, int $a_parent_node_id=0)
 
New PermissionGUI (extends from old ilPermission2GUI) RBAC related output.