ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.SkillTreeFactory.php
Go to the documentation of this file.
1 <?php
2 
20 namespace ILIAS\Skill\Tree;
21 
27 {
28  public function getGlobalTree(): \ilGlobalSkillTree
29  {
30  return new \ilGlobalSkillTree();
31  }
32 
33  public function getTreeById(int $id): \ilSkillTree
34  {
35  return new \ilSkillTree($id);
36  }
37 
39  {
40  return new \ilGlobalVirtualSkillTree();
41  }
42 
43  public function getVirtualTreeById(int $id): \ilVirtualSkillTree
44  {
45  return new \ilVirtualSkillTree($id);
46  }
47 }
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