48 $this->main_tpl = $DIC->ui()->mainTemplate();
49 $this->
ctrl = $DIC->ctrl();
51 $this->httpWrapper = $DIC->http()->wrapper();
53 $this->
access = ilMyStaffAccess::getInstance();
54 $this->accessHandler = $DIC->access();
59 if ($this->
access->hasCurrentUserAccessToCertificates()) {
62 $this->main_tpl->setOnScreenMessage(
'failure', $this->
language->txt(
"permission_denied"),
true);
63 $this->
ctrl->redirectByClass(ilDashboardGUI::class,
"");
69 $cmd = $this->
ctrl->getCmd();
70 $next_class = $this->
ctrl->getNextClass();
72 switch ($next_class) {
73 case strtolower(ilFormPropertyDispatchGUI::class):
76 $this->
ctrl->setReturn($this, self::CMD_INDEX);
78 $this->table->executeCommand();
80 case strtolower(ilUserCertificateApiGUI::class):
86 case self::CMD_RESET_FILTER:
87 case self::CMD_APPLY_FILTER:
89 case self::CMD_GET_ACTIONS:
110 $this->main_tpl->setTitle($this->
language->txt(
'mst_list_certificates'));
112 $this->main_tpl->setContent($this->table->getHTML());
118 $this->table->writeFilterToSession();
119 $this->table->resetOffset();
126 $this->table->resetOffset();
127 $this->table->resetFilter();
131 final public function getId(): string
135 return $this->table->getId();
140 $this->
ctrl->redirect($this);
ilAccessHandler $accessHandler
ILIAS Refinery Factory $refinery
static getImagePath(string $img, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
ilGlobalTemplateInterface $main_tpl
Class ilMStListCertificatesTableGUI.
WrapperFactory $httpWrapper
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...