◆ __construct()
ilMStShowUserCoursesGUI::__construct |
( |
| ) |
|
Definition at line 39 of file class.ilMStShowUserCoursesGUI.php.
References $DIC.
43 $this->access = ilMyStaffAccess::getInstance();
45 $this->usr_id = $DIC->http()->request()->getQueryParams()[
'usr_id'];
46 $DIC->ctrl()->setParameter($this,
'usr_id', $this->usr_id);
◆ applyFilter()
ilMStShowUserCoursesGUI::applyFilter |
( |
| ) |
|
|
protected |
◆ cancel()
ilMStShowUserCoursesGUI::cancel |
( |
| ) |
|
◆ checkAccessOrFail()
ilMStShowUserCoursesGUI::checkAccessOrFail |
( |
| ) |
|
|
protected |
Definition at line 53 of file class.ilMStShowUserCoursesGUI.php.
References $DIC, and ilUtil\sendFailure().
Referenced by executeCommand().
59 $DIC->ctrl()->redirectByClass(ilDashboardGUI::class,
"");
62 if ($this->access->hasCurrentUserAccessToUser($this->usr_id)
63 && $this->access->hasCurrentUserAccessToCourseMemberships()
68 $DIC->ctrl()->redirectByClass(ilDashboardGUI::class,
"");
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
◆ executeCommand()
ilMStShowUserCoursesGUI::executeCommand |
( |
| ) |
|
Definition at line 76 of file class.ilMStShowUserCoursesGUI.php.
References $DIC, checkAccessOrFail(), and index().
82 $cmd = $DIC->ctrl()->getCmd();
83 $next_class = $DIC->ctrl()->getNextClass();
85 switch ($next_class) {
86 case strtolower(ilFormPropertyDispatchGUI::class):
87 $DIC->ctrl()->setReturn($this, self::
CMD_INDEX);
89 $this->table->executeCommand();
93 case self::CMD_RESET_FILTER:
94 case self::CMD_APPLY_FILTER:
96 case self::CMD_GET_ACTIONS:
Class ilMStShowUserCoursesTableGUI.
◆ getId()
ilMStShowUserCoursesGUI::getId |
( |
| ) |
|
◆ index()
ilMStShowUserCoursesGUI::index |
( |
| ) |
|
|
protected |
◆ listUsers()
ilMStShowUserCoursesGUI::listUsers |
( |
| ) |
|
|
protected |
◆ resetFilter()
ilMStShowUserCoursesGUI::resetFilter |
( |
| ) |
|
|
protected |
◆ $access
ilMStShowUserCoursesGUI::$access |
|
protected |
◆ $table
ilMStShowUserCoursesGUI::$table |
|
protected |
◆ $usr_id
ilMStShowUserCoursesGUI::$usr_id |
|
protected |
◆ CMD_APPLY_FILTER
const ilMStShowUserCoursesGUI::CMD_APPLY_FILTER = 'applyFilter' |
◆ CMD_GET_ACTIONS
const ilMStShowUserCoursesGUI::CMD_GET_ACTIONS = "getActions" |
◆ CMD_INDEX
const ilMStShowUserCoursesGUI::CMD_INDEX = 'index' |
◆ CMD_RESET_FILTER
const ilMStShowUserCoursesGUI::CMD_RESET_FILTER = 'resetFilter' |
The documentation for this class was generated from the following file: