ILIAS  release_7 Revision v7.30-3-g800a261c036
interface.ilBasicSkillLevelRepository.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2019 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
9 {
10 
15  public function deleteLevelsOfSkill(int $skill_id);
16 
24  public function addLevel(int $skill_id, string $a_title, string $a_description, string $a_import_id = "");
25 
32  public function getLevelData(int $skill_id, int $a_id = 0) : array;
33 
39  public function lookupLevelTitle(int $a_id) : string;
40 
46  public function lookupLevelDescription(int $a_id) : string;
47 
53  public function lookupLevelSkillId(int $a_id) : int;
54 
60  public function writeLevelTitle(int $a_id, string $a_title);
61 
67  public function writeLevelDescription(int $a_id, string $a_description);
68 
73  public function updateLevelOrder(array $order);
74 
79  public function deleteLevel(int $a_id);
80 
85  public function fixLevelNumbering(int $skill_id);
86 
92  public function getSkillForLevelId(int $a_level_id);
93 
94 }
writeLevelTitle(int $a_id, string $a_title)
Write level title.
updateLevelOrder(array $order)
Update level order.
getLevelData(int $skill_id, int $a_id=0)
Get level data.
fixLevelNumbering(int $skill_id)
Fix level numbering.
getSkillForLevelId(int $a_level_id)
Get skill for level id.
Interface ilBasicSkillLevelRepository.
deleteLevelsOfSkill(int $skill_id)
Delete levels of a skill.
deleteLevel(int $a_id)
Delete level.
writeLevelDescription(int $a_id, string $a_description)
Write level description.
lookupLevelTitle(int $a_id)
Lookup level title.
lookupLevelDescription(int $a_id)
Lookup level description.
addLevel(int $skill_id, string $a_title, string $a_description, string $a_import_id="")
Add new level.
lookupLevelSkillId(int $a_id)
Lookup level skill id.