58 $this->ctrl = $DIC->ctrl();
59 $this->tabs = $DIC->tabs();
60 $this->lng = $DIC->language();
61 $this->tpl = $DIC[
"tpl"];
62 $this->
user = $DIC->user();
64 $this->container_gui = $a_container_gui;
65 $this->container = $a_container_gui->object;
67 include_once(
"./Services/Container/Skills/classes/class.ilContainerSkills.php");
79 $tabs->activateSubTab(
"list");
81 $next_class = $this->ctrl->getNextClass($this);
82 $cmd = $this->ctrl->getCmd(
"show");
84 switch ($next_class) {
85 case "ilpersonalskillsgui":
90 if (in_array($cmd, array(
"show"))) {
105 include_once(
"./Services/Skill/classes/class.ilPersonalSkillsGUI.php");
107 $gui->setGapAnalysisActualStatusModePerObject($this->container->getId());
109 $gui->setHistoryView(
true);
110 $skills = array_map(
function ($v) {
112 "base_skill_id" => $v[
"skill_id"],
113 "tref_id" => $v[
"tref_id"]
115 }, $this->container_skills->getSkills());
116 $gui->setObjectSkills($this->container_skills->getId(), $skills);
128 $gui->listProfilesForGap();
135 $nodes = $DIC->repositoryTree()->getSubTree(
136 $DIC->repositoryTree()->getNodeData($this->container->getRefId())
141 foreach (
$nodes as $node) {
142 $objects[] = $node[
'obj_id'];
__construct($a_container_gui)
Constructor.
executeCommand()
Execute command.
Personal skills GUI class.
Skill presentatio for container (course/group)
getPersonalSkillsGUI()
Get personal skills gui.