Class ilMStListCompetencesGUI.
More...
◆ __construct()
ilMStListCompetencesGUI::__construct |
( |
Container |
$dic | ) |
|
◆ addSubTabs()
ilMStListCompetencesGUI::addSubTabs |
( |
string |
$subtab_active | ) |
|
|
protected |
Definition at line 81 of file class.ilMStListCompetencesGUI.php.
81 : void
82 {
83 $this->dic->language()->loadLanguageModule('skmg');
84 $this->dic->tabs()->addSubTab(
85 self::SUB_TAB_SKILLS,
86 $this->dic->language()->txt('skmg_selected_skills'),
87 $this->dic->ctrl()->getLinkTargetByClass([
88 self::class,
89 ilMStListCompetencesSkillsGUI::class
90 ])
91 );
92
93 $this->dic->tabs()->activateSubTab($subtab_active);
94 }
Referenced by executeCommand().
◆ checkAccessOrFail()
ilMStListCompetencesGUI::checkAccessOrFail |
( |
| ) |
|
|
protected |
Definition at line 48 of file class.ilMStListCompetencesGUI.php.
48 : void
49 {
50 if ($this->
access->hasCurrentUserAccessToCompetences()) {
51 return;
52 } else {
53 $this->main_tpl->setOnScreenMessage('failure', $this->dic->language()->txt("permission_denied"), true);
54 $this->dic->ctrl()->redirectByClass(ilDashboardGUI::class, "");
55 }
56 }
References ILIAS\Repository\access().
◆ executeCommand()
ilMStListCompetencesGUI::executeCommand |
( |
| ) |
|
|
final |
Definition at line 58 of file class.ilMStListCompetencesGUI.php.
58 : void
59 {
60 $cmd = $this->dic->ctrl()->getCmd();
61 $next_class = $this->dic->ctrl()->getNextClass();
62 switch ($next_class) {
63 case strtolower(ilMStListCompetencesSkillsGUI::class):
66 $this->dic->ctrl()->forwardCommand($gui);
67 break;
68 default:
69 switch ($cmd) {
71 $this->$cmd();
72 break;
73 default:
75 break;
76 }
77 break;
78 }
79 }
const string SUB_TAB_SKILLS
addSubTabs(string $subtab_active)
References addSubTabs(), CMD_INDEX, and index().
◆ index()
ilMStListCompetencesGUI::index |
( |
| ) |
|
|
final |
◆ $access
◆ $dic
◆ $main_tpl
◆ $table
◆ CMD_APPLY_FILTER
const string ilMStListCompetencesGUI::CMD_APPLY_FILTER = 'applyFilter' |
◆ CMD_GET_ACTIONS
const string ilMStListCompetencesGUI::CMD_GET_ACTIONS = "getActions" |
◆ CMD_INDEX
const string ilMStListCompetencesGUI::CMD_INDEX = 'index' |
◆ CMD_RESET_FILTER
const string ilMStListCompetencesGUI::CMD_RESET_FILTER = 'resetFilter' |
◆ SUB_TAB_SKILLS
const string ilMStListCompetencesGUI::SUB_TAB_SKILLS = 'skills' |
The documentation for this class was generated from the following file: