40 $this->access = ilMyStaffAccess::getInstance();
41 $this->
help = $DIC->help();
42 $this->
help->setScreenIdComponent(
'msta');
53 if ($this->access->hasCurrentUserAccessToCourseMemberships()) {
57 $DIC->ctrl()->redirectByClass(ilDashboardGUI::class,
"");
69 $cmd = $DIC->ctrl()->getCmd();
70 $next_class = $DIC->ctrl()->getNextClass();
72 switch ($next_class) {
73 case strtolower(ilFormPropertyDispatchGUI::class):
76 $DIC->ctrl()->setReturn($this, self::CMD_INDEX);
78 $this->table->executeCommand();
83 case self::CMD_RESET_FILTER:
84 case self::CMD_APPLY_FILTER:
86 case self::CMD_GET_ACTIONS:
115 $this->
help->setScreenId(
'courses_list');
118 $DIC->ui()->mainTemplate()->setTitle($DIC->language()->txt(
'mst_list_courses'));
120 $DIC->ui()->mainTemplate()->setContent($this->table->getHTML());
130 $this->table->writeFilterToSession();
131 $this->table->resetOffset();
142 $this->table->resetOffset();
143 $this->table->resetFilter();
155 return $this->table->getId();
166 $DIC->ctrl()->redirect($this);
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.
Class ilMStListCoursesTableGUI.