42 $this->main_tpl = $DIC->ui()->mainTemplate();
43 $this->
access = ilMyStaffAccess::getInstance();
49 if ($this->
access->hasCurrentUserAccessToCompetences()) {
52 $this->main_tpl->setOnScreenMessage(
'failure', $this->dic->language()->txt(
"permission_denied"),
true);
53 $this->dic->ctrl()->redirectByClass(ilDashboardGUI::class,
"");
59 $cmd = $this->dic->ctrl()->getCmd();
60 $next_class = $this->dic->ctrl()->getNextClass();
61 switch ($next_class) {
64 case self::CMD_RESET_FILTER:
65 case self::CMD_APPLY_FILTER:
67 case self::CMD_GET_ACTIONS:
78 final public function index(): void
88 $this->dic->ui()->mainTemplate()->setTitle($this->dic->language()->txt(
'mst_list_competences'));
90 $this->dic->ui()->mainTemplate()->setContent($this->table->getHTML());
96 $this->table->writeFilterToSession();
97 $this->table->resetOffset();
104 $this->table->resetOffset();
105 $this->table->resetFilter();
109 final public function getId(): string
113 return $this->table->getId();
118 $this->dic->ctrl()->redirect($this);
ilGlobalTemplateInterface $main_tpl
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
Customizing of pimple-DIC for ILIAS.
Class ilMStListCompetencesTableGUI.
__construct(Container $dic)