36 $this->access = ilMyStaffAccess::getInstance();
47 if ($this->access->hasCurrentUserAccessToCertificates()) {
51 $DIC->ctrl()->redirectByClass(ilDashboardGUI::class,
"");
63 $cmd = $DIC->ctrl()->getCmd();
64 $next_class = $DIC->ctrl()->getNextClass();
66 switch ($next_class) {
67 case strtolower(ilFormPropertyDispatchGUI::class):
70 $DIC->ctrl()->setReturn($this, self::CMD_INDEX);
72 $this->table->executeCommand();
74 case strtolower(ilUserCertificateApiGUI::class):
81 case self::CMD_RESET_FILTER:
82 case self::CMD_APPLY_FILTER:
84 case self::CMD_GET_ACTIONS:
115 $DIC->ui()->mainTemplate()->setTitle($DIC->language()->txt(
'mst_list_certificates'));
117 $DIC->ui()->mainTemplate()->setContent($this->table->getHTML());
127 $this->table->writeFilterToSession();
128 $this->table->resetOffset();
139 $this->table->resetOffset();
140 $this->table->resetFilter();
152 return $this->table->getId();
163 $DIC->ctrl()->redirect($this);
Class ilMStListCertificatesTableGUI.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.