19 declare(strict_types=1);
35 public function __construct(
int $a_context = self::CONTEXT_REPOSITORY)
41 $this->
ctrl = $DIC->ctrl();
43 $this->cat_request = $DIC
53 public function init(): void
55 $this->static_link_enabled =
true;
56 $this->delete_enabled =
true;
57 $this->cut_enabled =
true;
58 $this->copy_enabled =
true;
59 $this->subscribe_enabled =
true;
60 $this->link_enabled =
false;
61 $this->info_screen_enabled =
true;
64 $this->gui_class_name =
"ilobjcategorygui";
67 if ($this->substitutions->isActive()) {
68 $this->substitutions_enabled =
true;
96 case 'mount_webfolder':
105 $ilCtrl->setParameterByClass(
"ilrepositorygui",
"ref_id", $this->ref_id);
106 $cmd_link = $ilCtrl->getLinkTargetByClass(
"ilrepositorygui", $cmd);
107 $ilCtrl->setParameterByClass(
110 $this->cat_request->getRefId()
Class ilObjCategoryListGUI.
StandardGUIRequest $cat_request
static _getCommands()
get commands
__construct(Container $dic, ilPlugin $plugin)
bool $info_screen_enabled
const INFO_TAB_VISIBILITY
static _lookupContainerSetting(int $a_id, string $a_keyword, ?string $a_default_value=null)
getUriToMountInstructionModalByRef(int $a_ref_id)
getCommandLink(string $cmd)
checkInfoPageOnAsynchronousRendering()
static _getInstanceByObjectType(string $a_type)