ILIAS  trunk Revision v12.0_alpha-1227-g7ff6d300864
class.ilObjSystemFolderGUI.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24{
25 public function getType(): string
26 {
27 return 'adm';
28 }
29
30 public function executeCommand(): void
31 {
32 $this->lng->loadLanguageModule("administration");
33 $this->prepareOutput();
34 $this->viewObject();
35 }
36
37 public function getAdminTabs(): void
38 {
39 // no tabs
40 }
41
42 public function viewObject(): void
43 {
44 $this->tpl->setOnScreenMessage(GlobalTemplate::MESSAGE_TYPE_INFO, $this->lng->txt('system_folder_info'));
45 }
46
47 public static function _goto(): void
48 {
49 global $DIC;
50
51 $DIC->ctrl()->setParameterByClass(self::class, 'ref_id', SYSTEM_FOLDER_ID);
52 $DIC->ctrl()->redirectByClass([ilAdministrationGUI::class, self::class]);
53 }
54}
viewObject()
viewObject container presentation for "administration -> repository, trash, permissions"
getAdminTabs()
administration tabs show only permissions and trash folder
getType()
Functions that must be overwritten.
New implementation of ilObjectGUI.
prepareOutput(bool $show_sub_objects=true)
const SYSTEM_FOLDER_ID
Definition: constants.php:35
global $DIC
Definition: shib_login.php:26