ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
class.TableManager.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
21 namespace ILIAS\Skill\Table;
22 
25 
30 {
31  public function __construct(
32  ) {
33  }
34 
35  public function getTreeTable(
36  int $ref_id
37  ): TreeTable {
38  return new TreeTable($ref_id);
39  }
40 
41  public function getLevelResourcesTable(
42  int $ref_id,
43  int $base_skill_id,
44  int $tref_id,
45  int $requested_level_id
47  return new LevelResourcesTable($ref_id, $base_skill_id, $tref_id, $requested_level_id);
48  }
49 
50  public function getAssignedObjectsTable(
51  object $parent_obj,
52  array $objects,
53  int $skill_id = 0,
54  int $tref_id = 0,
55  int $profile_id = 0
57  return new AssignedObjectsTable($parent_obj, $objects, $skill_id, $tref_id, $profile_id);
58  }
59 
60  public function getProfileTable(
61  int $ref_id,
62  int $skill_tree_id
63  ): ProfileTable {
64  return new ProfileTable($ref_id, $skill_tree_id);
65  }
66 
68  Profile\SkillProfile $profile,
69  Access\SkillTreeAccess $tree_access_manager
71  return new ProfileUserAssignmentTable($profile, $tree_access_manager);
72  }
73 
74  public function getAssignMaterialsTable(
75  int $top_skill_id,
76  int $tref_id,
77  int $basic_skill_id
79  return new AssignMaterialsTable($top_skill_id, $tref_id, $basic_skill_id);
80  }
81 }
getProfileUserAssignmentTable(Profile\SkillProfile $profile, Access\SkillTreeAccess $tree_access_manager)
getProfileTable(int $ref_id, int $skill_tree_id)
$ref_id
Definition: ltiauth.php:65
getAssignedObjectsTable(object $parent_obj, array $objects, int $skill_id=0, int $tref_id=0, int $profile_id=0)
getLevelResourcesTable(int $ref_id, int $base_skill_id, int $tref_id, int $requested_level_id)
getAssignMaterialsTable(int $top_skill_id, int $tref_id, int $basic_skill_id)