Class ilMStListCompetencesGUI.
More...
◆ __construct()
ilMStListCompetencesGUI::__construct |
( |
Container |
$dic = null | ) |
|
◆ addSubTabs()
ilMStListCompetencesGUI::addSubTabs |
( |
string |
$subtab_active | ) |
|
|
protected |
- Parameters
-
Definition at line 94 of file class.ilMStListCompetencesGUI.php.
94 : void
95 {
96 $this->dic->language()->loadLanguageModule('skmg');
97 $this->dic->tabs()->addSubTab(
98 self::SUB_TAB_SKILLS,
99 $this->dic->language()->txt('skmg_selected_skills'),
100 $this->dic->ctrl()->getLinkTargetByClass([
101 self::class,
102 ilMStListCompetencesSkillsGUI::class
103 ])
104 );
105
106 $this->dic->tabs()->activateSubTab($subtab_active);
107 }
Referenced by executeCommand().
◆ checkAccessOrFail()
ilMStListCompetencesGUI::checkAccessOrFail |
( |
| ) |
|
|
protected |
Definition at line 53 of file class.ilMStListCompetencesGUI.php.
54 {
55 if ($this->access->hasCurrentUserAccessToCompetences()) {
56 return;
57 } else {
59 $this->dic->ctrl()->redirectByClass(ilDashboardGUI::class, "");
60 }
61 }
static sendFailure($a_info="", $a_keep=false)
Send Failure Message to Screen.
References ilUtil\sendFailure().
◆ executeCommand()
ilMStListCompetencesGUI::executeCommand |
( |
| ) |
|
Definition at line 67 of file class.ilMStListCompetencesGUI.php.
68 {
69 $cmd = $this->dic->ctrl()->getCmd();
70 $next_class = $this->dic->ctrl()->getNextClass();
71 switch ($next_class) {
72 case strtolower(ilMStListCompetencesSkillsGUI::class):
75 $this->dic->ctrl()->forwardCommand($gui);
76 break;
77 default:
78 switch ($cmd) {
80 $this->$cmd();
81 break;
82 default:
84 break;
85 }
86 break;
87 }
88 }
addSubTabs(string $subtab_active)
References addSubTabs(), CMD_INDEX, and index().
◆ index()
ilMStListCompetencesGUI::index |
( |
| ) |
|
◆ $access
ilMStListCompetencesGUI::$access |
|
protected |
◆ $dic
ilMStListCompetencesGUI::$dic |
|
private |
◆ $table
ilMStListCompetencesGUI::$table |
|
protected |
◆ CMD_APPLY_FILTER
const ilMStListCompetencesGUI::CMD_APPLY_FILTER = 'applyFilter' |
◆ CMD_GET_ACTIONS
const ilMStListCompetencesGUI::CMD_GET_ACTIONS = "getActions" |
◆ CMD_INDEX
const ilMStListCompetencesGUI::CMD_INDEX = 'index' |
◆ CMD_RESET_FILTER
const ilMStListCompetencesGUI::CMD_RESET_FILTER = 'resetFilter' |
◆ SUB_TAB_SKILLS
const ilMStListCompetencesGUI::SUB_TAB_SKILLS = 'skills' |
The documentation for this class was generated from the following file: