18declare(strict_types=1);
45 $this->main_tpl =
$DIC->ui()->mainTemplate();
46 $this->
access = ilMyStaffAccess::getInstance();
47 $this->
help = $DIC->help();
48 $this->
ctrl = $DIC->ctrl();
50 $this->
help->setScreenIdComponent(
'msta');
55 if ($this->
access->hasCurrentUserAccessToMyStaff()) {
58 $this->main_tpl->setOnScreenMessage(
'failure', $this->
language->txt(
"permission_denied"),
true);
59 $this->
ctrl->redirectByClass(ilDashboardGUI::class,
"");
69 $cmd =
$DIC->ctrl()->getCmd();
85 final public function index(): void
94 $this->
help->setScreenId(
'users_list');
96 $DIC->ui()->mainTemplate()->setTitle(
$DIC->language()->txt(
'mst_list_users'));
98 $DIC->ui()->mainTemplate()->setContent($this->table->getHTML());
104 $this->table->writeFilterToSession();
105 $this->table->resetOffset();
112 $this->table->resetOffset();
113 $this->table->resetFilter();
121 $DIC->ctrl()->redirect($this);
Class ilMStListUsersTableGUI.
const CMD_ADD_USER_AUTO_COMPLETE
ilMStListUsersTableGUI $table
ilGlobalTemplateInterface $main_tpl
static getImagePath(string $img, 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...