43 if ($this->access->hasCurrentUserAccessToMyStaff()) {
47 $DIC->ctrl()->redirectByClass(ilPersonalDesktopGUI::class,
"");
61 $cmd = $DIC->ctrl()->getCmd();
64 case self::CMD_RESET_FILTER:
65 case self::CMD_APPLY_FILTER:
67 case self::CMD_ADD_USER_AUTO_COMPLETE:
68 case self::CMD_GET_ACTIONS:
95 $this->table->setTitle($DIC->language()->txt(
'mst_list_users'));
96 $DIC->ui()->mainTemplate()->setContent($this->table->getHTML());
106 $this->table->writeFilterToSession();
107 $this->table->resetOffset();
118 $this->table->resetOffset();
119 $this->table->resetFilter();
131 $DIC->ctrl()->redirect($this);
142 $mst_lus_usr_id = $DIC->http()->request()->getQueryParams()[
'mst_lus_usr_id'];
143 if ($mst_lus_usr_id > 0) {
146 $DIC->ctrl()->setParameterByClass(ilMStShowUserGUI::class,
'usr_id', $mst_lus_usr_id);
147 $selection->addItem($DIC->language()->txt(
'mst_show_courses'),
'', $DIC->ctrl()->getLinkTargetByClass(
array(
148 ilPersonalDesktopGUI::class,
150 ilMStShowUserGUI::class,
153 $selection = ilMyStaffGUI::extendActionMenuWithUserActions($selection, $mst_lus_usr_id, rawurlencode($DIC->ctrl()
154 ->getLinkTarget($this, self::CMD_INDEX)));
156 echo $selection->getHTML(
true);
Class ilMStListUsersTableGUI.
Create styles array
The data for the language used.
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
User interface class for advanced drop-down selection lists.
const CMD_ADD_USER_AUTO_COMPLETE