78 $this->ctrl = $DIC->ctrl();
79 $this->tabs = $DIC->tabs();
80 $this->lng = $DIC->language();
81 $this->tpl = $DIC[
"tpl"];
82 $this->
user = $DIC->user();
84 $this->container_gui = $a_container_gui;
85 $this->container = $a_container_gui->object;
87 include_once(
"./Services/Container/Skills/classes/class.ilContainerSkills.php");
93 $this->container_skills,
94 $this->container_global_profiles,
95 $this->container_local_profiles
107 $tabs->activateSubTab(
"list");
109 $next_class = $this->ctrl->getNextClass($this);
110 $cmd = $this->ctrl->getCmd(
"show");
113 switch ($next_class) {
114 case "ilpersonalskillsgui":
119 if (in_array($cmd, array(
"show"))) {
132 $type = $this->container->getType();
133 $ref_id = $this->container->getRefId();
134 $this->tpl->setPermanentLink(
$type,
"", $ref_id .
"_comp",
"",
"");
147 $gui->setGapAnalysisActualStatusModePerObject($this->container->getId());
149 $gui->setHistoryView(
true);
150 $skills = $this->container_skill_collector->getSkillsForPresentationGUI();
151 $gui->setObjectSkills($this->container_skills->getId(), $skills);
152 $gui->setObjectSkillProfiles($this->container_global_profiles, $this->container_local_profiles);
164 $gui->listProfilesForGap();
171 $nodes = $DIC->repositoryTree()->getSubTree(
172 $DIC->repositoryTree()->getNodeData($this->container->getRefId())
177 foreach ($nodes as $node) {
178 $objects[] = $node[
'obj_id'];
194 $access = $DIC->access();
203 if ($skmg_set->get(
"enable_skmg")) {
__construct($a_container_gui)
Constructor.
setPermanentLink()
Set permanent link.
executeCommand()
Execute command.
$container_skill_collector
Personal skills GUI class.
Global competence profiles of a container.
static _lookupObjId($a_id)
Skill presentatio for container (course/group)
getPersonalSkillsGUI()
Get personal skills gui.
$container_local_profiles
$container_global_profiles
Local competence profiles of a container.
static isAccessible($ref_id)
Is container skill presentation accessible.
Collector of skills for a container.
static _lookupContainerSetting($a_id, $a_keyword, $a_default_value=null)
Lookup a container setting.