◆ __construct()
ilMStShowUserCoursesGUI::__construct |
( |
| ) |
|
◆ applyFilter()
ilMStShowUserCoursesGUI::applyFilter |
( |
| ) |
|
|
protected |
Definition at line 116 of file class.ilMStShowUserCoursesGUI.php.
116 : void
117 {
119 $this->table->writeFilterToSession();
120 $this->table->resetOffset();
122 }
Class ilMStShowUserCoursesTableGUI.
References index().
◆ cancel()
ilMStShowUserCoursesGUI::cancel |
( |
| ) |
|
|
final |
◆ checkAccessOrFail()
ilMStShowUserCoursesGUI::checkAccessOrFail |
( |
| ) |
|
|
protected |
Definition at line 50 of file class.ilMStShowUserCoursesGUI.php.
51 {
53
54 if (!$this->usr_id) {
55 $this->main_tpl->setOnScreenMessage(
'failure',
$DIC->language()->txt(
"permission_denied"),
true);
56 $DIC->ctrl()->redirectByClass(ilDashboardGUI::class,
"");
57 }
58
59 if ($this->
access->hasCurrentUserAccessToUser($this->usr_id)
60 && $this->access->hasCurrentUserAccessToCourseMemberships()
61 ) {
62 return;
63 } else {
64 $this->main_tpl->setOnScreenMessage(
'failure',
$DIC->language()->txt(
"permission_denied"),
true);
65 $DIC->ctrl()->redirectByClass(ilDashboardGUI::class,
"");
66 }
67 }
References $DIC, and ILIAS\Repository\access().
Referenced by executeCommand().
◆ executeCommand()
ilMStShowUserCoursesGUI::executeCommand |
( |
| ) |
|
|
final |
◆ getId()
ilMStShowUserCoursesGUI::getId |
( |
| ) |
|
|
final |
◆ index()
ilMStShowUserCoursesGUI::index |
( |
| ) |
|
|
protected |
◆ listUsers()
ilMStShowUserCoursesGUI::listUsers |
( |
| ) |
|
|
protected |
◆ resetFilter()
ilMStShowUserCoursesGUI::resetFilter |
( |
| ) |
|
|
protected |
◆ $access
◆ $main_tpl
◆ $table
◆ $usr_id
int ilMStShowUserCoursesGUI::$usr_id |
|
protected |
◆ CMD_APPLY_FILTER
const string ilMStShowUserCoursesGUI::CMD_APPLY_FILTER = 'applyFilter' |
◆ CMD_GET_ACTIONS
const string ilMStShowUserCoursesGUI::CMD_GET_ACTIONS = "getActions" |
◆ CMD_INDEX
const string ilMStShowUserCoursesGUI::CMD_INDEX = 'index' |
◆ CMD_RESET_FILTER
const string ilMStShowUserCoursesGUI::CMD_RESET_FILTER = 'resetFilter' |
The documentation for this class was generated from the following file: