19 declare(strict_types=1);
39 $this->tree_repo = $internal_service->
repo()->getTreeRepo();
40 $this->tree_factory = $internal_service->
factory()->tree();
41 $this->tree_manager = $internal_service->
manager()->getTreeManager();
46 $tree = $this->tree_factory->getGlobalTree();
53 $tree = $this->tree_factory->getTreeById($tree_id);
60 $tree = $this->tree_repo->getTreeForNodeId($node_id);
67 $vtree = $this->tree_factory->getGlobalVirtualTree();
74 $vtree = $this->tree_factory->getVirtualTreeById($tree_id);
81 $vtree = $this->tree_repo->getVirtualTreeForNodeId($node_id);
91 $tree = $this->tree_repo->getTreeForNodeId($base_skill_id);
92 $path = $tree->getSkillTreePath($base_skill_id, $tref_id);
99 $obj_tree = $this->tree_manager->getTree($tree_id);
109 $obj_trees = iterator_to_array($this->tree_manager->getTrees());
Skill tree object in skill management (repository object class)
SkillTreeFactory $tree_factory
ilSkillTreeRepository $tree_repo
getObjSkillTreeById(int $tree_id)
Global virtual skill tree.
getVirtualSkillTreeById(int $tree_id)
factory()
Skill service repos.
getVirtualSkillTreeForNodeId(int $node_id)
getGlobalVirtualSkillTree()
getSkillTreeForNodeId(int $node_id)
__construct(SkillInternalService $internal_service)
getSkillTreeById(int $tree_id)
SkillTreeManager $tree_manager
getSkillTreePath(int $base_skill_id, int $tref_id=0)