54 $this->ctrl = $DIC->ctrl();
55 $this->tabs = $DIC->tabs();
56 $this->lng = $DIC->language();
57 $this->access = $DIC->access();
59 $this->container_gui = $a_container_gui;
60 $this->container = $a_container_gui->object;
61 $this->ref_id = $this->container->getRefId();
71 $next_class = $this->ctrl->getNextClass($this);
72 $cmd = $this->ctrl->getCmd(
"show");
76 switch ($next_class) {
77 case "ilcontskillpresentationgui":
78 if ($this->access->checkAccess(
"read",
"", $this->ref_id)) {
79 include_once(
"./Services/Container/Skills/classes/class.ilContSkillPresentationGUI.php");
81 $ctrl->forwardCommand($gui);
85 case "ilcontskilladmingui":
86 if ($this->access->checkAccess(
"write",
"", $this->ref_id) || $this->access->checkAccess(
"grade",
"", $this->ref_id)) {
87 include_once(
"./Services/Container/Skills/classes/class.ilContSkillAdminGUI.php");
89 $ctrl->forwardCommand($gui);
112 if ($this->access->checkAccess(
"read",
"", $this->ref_id)) {
115 $lng->txt(
"cont_skill_show"),
116 $ctrl->getLinkTargetByClass(
"ilContSkillPresentationGUI",
"")
120 if ($this->access->checkAccess(
"grade",
"", $this->ref_id)) {
123 $lng->txt(
"cont_skill_members"),
124 $ctrl->getLinkTargetByClass(
"ilContSkillAdminGUI",
"listMembers")
128 if ($this->access->checkAccess(
"write",
"", $this->ref_id)) {
131 $lng->txt(
"cont_skill_assigned_comp"),
132 $ctrl->getLinkTargetByClass(
"ilContSkillAdminGUI",
"listCompetences")
137 $lng->txt(
"settings"),
138 $ctrl->getLinkTargetByClass(
"ilContSkillAdminGUI",
"settings")
executeCommand()
Execute command.
Skills for container (course/group) (top gui class)
__construct($a_container_gui)
Constructor.
Skill presentatio for container (course/group)
Container skills administration.