45 $this->main_tpl =
$DIC->ui()->mainTemplate();
46 $this->
ctrl = $DIC->ctrl();
48 $this->
access = ilMyStaffAccess::getInstance();
53 if ($this->
access->hasCurrentUserAccessToCertificates()) {
56 $this->main_tpl->setOnScreenMessage(
'failure', $this->
language->txt(
"permission_denied"),
true);
57 $this->
ctrl->redirectByClass(ilDashboardGUI::class,
"");
63 $cmd = $this->
ctrl->getCmd();
64 $next_class = $this->
ctrl->getNextClass();
66 switch ($next_class) {
67 case strtolower(ilFormPropertyDispatchGUI::class):
70 $this->
ctrl->setReturn($this, self::CMD_INDEX);
72 $this->table->executeCommand();
74 case strtolower(ilUserCertificateApiGUI::class):
94 final public function index(): void
104 $this->main_tpl->setTitle($this->
language->txt(
'mst_list_certificates'));
106 $this->main_tpl->setContent($this->table->getHTML());
112 $this->table->writeFilterToSession();
113 $this->table->resetOffset();
120 $this->table->resetOffset();
121 $this->table->resetFilter();
125 final public function getId(): string
129 return $this->table->getId();
134 $this->
ctrl->redirect($this);
Class ilMStListCertificatesTableGUI.
Class ilMStListCertificatesGUI.
const string CMD_GET_ACTIONS
const string CMD_RESET_FILTER
const string CMD_APPLY_FILTER
ilGlobalTemplateInterface $main_tpl
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
static getImagePath(string $image_name, string $module_path="", string $mode="output", bool $offline=false)
get image path (for images located in a template directory)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...