ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
class.SkillTreeFactory.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
28{
29 public function getGlobalTree(): \ilGlobalSkillTree
30 {
31 return new \ilGlobalSkillTree();
32 }
33
34 public function getTreeById(int $id): \ilSkillTree
35 {
36 return new \ilSkillTree($id);
37 }
38
40 {
41 return new \ilGlobalVirtualSkillTree();
42 }
43
45 {
46 return new \ilVirtualSkillTree($id);
47 }
48}
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
Definition: plugin.php:23