19declare(strict_types=1);
29 public function __construct(
int $a_id = 0,
int $a_id_type = self::REPOSITORY_NODE_ID,
int $a_parent_node_id = 0)
33 $this->legal_notice_gui->setPresentationTitle($this->
lng->txt(
'adm_imprint'));
45 $nextClass = $this->
ctrl->getNextClass($this);
46 $cmd = $this->
ctrl->getCmd();
48 switch (strtolower($nextClass)) {
49 case strtolower(ilPermissionGUI::class):
51 $this->
ctrl->forwardCommand($perm_gui);
54 case (strtolower(ilImprintGUI::class)):
56 $this->legal_notice_gui->setEnableEditing(
false);
58 $ret = $this->
ctrl->forwardCommand($this->legal_notice_gui);
60 $this->tpl->setContent($ret);
65 if (method_exists($this, $cmd)) {
66 $this->tpl->setContent($this->$cmd());
74 $this->
ctrl->redirect($this->legal_notice_gui,
'preview');
@ilCtrl_Calls ilImprintGUI: ilPageEditorGUI, ilEditClipboardGUI, ilMediaPoolTargetSelector @ilCtrl_Ca...
@ilCtrl_Calls ilObjLegalNoticeGUI: ilPermissionGUI, ilImprintGUI @ilCtrl_isCalledBy ilObjLegalNoticeG...
executeCommand()
execute command
__construct(int $a_id=0, int $a_id_type=self::REPOSITORY_NODE_ID, int $a_parent_node_id=0)
getType()
Functions that must be overwritten.
ilImprintGUI $legal_notice_gui
New implementation of ilObjectGUI.
checkPermissionBool(string $perm, string $cmd="", string $type="", ?int $node_id=null)
prepareOutput(bool $show_sub_objects=true)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc