ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
class.TableManager.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
22 namespace ILIAS\Skill\Table;
23 
26 
31 {
32  public function __construct(
33  ) {
34  }
35 
36  public function getTreeTable(
37  int $ref_id
38  ): TreeTable {
39  return new TreeTable($ref_id);
40  }
41 
42  public function getLevelResourcesTable(
43  int $ref_id,
44  int $base_skill_id,
45  int $tref_id,
46  int $requested_level_id
48  return new LevelResourcesTable($ref_id, $base_skill_id, $tref_id, $requested_level_id);
49  }
50 
51  public function getAssignedObjectsTable(
52  object $parent_obj,
53  array $objects,
54  int $skill_id = 0,
55  int $tref_id = 0,
56  int $profile_id = 0
58  return new AssignedObjectsTable($parent_obj, $objects, $skill_id, $tref_id, $profile_id);
59  }
60 
61  public function getProfileTable(
62  int $ref_id,
63  int $skill_tree_id
64  ): ProfileTable {
65  return new ProfileTable($ref_id, $skill_tree_id);
66  }
67 
69  Profile\SkillProfile $profile,
70  Access\SkillTreeAccess $tree_access_manager
72  return new ProfileUserAssignmentTable($profile, $tree_access_manager);
73  }
74 
75  public function getAssignMaterialsTable(
76  int $top_skill_id,
77  int $tref_id,
78  int $basic_skill_id
80  return new AssignMaterialsTable($top_skill_id, $tref_id, $basic_skill_id);
81  }
82 }
getAssignedObjectsTable(object $parent_obj, array $objects, int $skill_id=0, int $tref_id=0, int $profile_id=0)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getProfileUserAssignmentTable(Profile\SkillProfile $profile, Access\SkillTreeAccess $tree_access_manager)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getAssignMaterialsTable(int $top_skill_id, int $tref_id, int $basic_skill_id)
$ref_id
Definition: ltiauth.php:67
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getLevelResourcesTable(int $ref_id, int $base_skill_id, int $tref_id, int $requested_level_id)
getProfileTable(int $ref_id, int $skill_tree_id)