ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.SkillTreeFactory.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 namespace ILIAS\Skill\Tree;
23 
29 {
30  public function getGlobalTree(): \ilGlobalSkillTree
31  {
32  return new \ilGlobalSkillTree();
33  }
34 
35  public function getTreeById(int $id): \ilSkillTree
36  {
37  return new \ilSkillTree($id);
38  }
39 
41  {
42  return new \ilGlobalVirtualSkillTree();
43  }
44 
45  public function getVirtualTreeById(int $id): \ilVirtualSkillTree
46  {
47  return new \ilVirtualSkillTree($id);
48  }
49 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23