19 declare(strict_types=1);
45 $this->
ctrl = $DIC->ctrl();
46 $this->
tabs = $DIC->tabs();
47 $this->
lng = $DIC->language();
48 $this->tpl = $DIC[
"tpl"];
49 $this->
user = $DIC->user();
51 $this->container_gui = $a_container_gui;
54 $this->container = $obj;
57 $this->cont_skill_manager = $DIC->skills()->internalContainer()->manager()->getSkillManager(
58 $this->container->getId(),
59 $this->container->getRefId()
67 $next_class = $this->
ctrl->getNextClass($this);
68 $cmd = $this->
ctrl->getCmd(
"showProfiles");
71 switch ($next_class) {
72 case "ilpersonalskillsgui":
77 if (in_array($cmd, [
"showProfiles",
"showRecords"])) {
85 $type = $this->container->getType();
86 $ref_id = $this->container->getRefId();
87 $this->tpl->setPermanentLink($type,
$ref_id,
"comp");
95 $gui->setGapAnalysisActualStatusModePerObject($this->container->getId());
97 $gui->setHistoryView(
true);
98 $skills = $this->cont_skill_manager->getSkillsForPresentationGUI();
99 $gui->setObjectSkills($this->container->getId(), $skills);
100 $gui->setObjectSkillProfiles($this->cont_member_role_id);
111 $gui->listAllProfilesForGap();
121 $gui->listRecordsForGap();
128 $nodes = $DIC->repositoryTree()->getSubTree(
129 $DIC->repositoryTree()->getNodeData($this->container->getRefId())
134 foreach ($nodes as $node) {
135 $objects[] = $node[
'obj_id'];
145 $access = $DIC->access();
154 if ($skmg_set->get(
"enable_skmg")) {
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilContainerGUI $a_container_gui)
activateSubTab(string $a_id)
ilGlobalTemplateInterface $tpl
static getDefaultMemberRole(int $a_ref_id)
forwardCommand(object $a_gui_object)
static _lookupObjId(int $ref_id)
Personal skills GUI class.
ilContainerGUI $container_gui
Skill presentation for container (course/group)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS Container Skills ContainerSkillManager $cont_skill_manager
static isAccessible(int $ref_id)
Class ilContainerGUI This is a base GUI class for all container objects in ILIAS: root folder...
static _lookupContainerSetting(int $a_id, string $a_keyword, ?string $a_default_value=null)