| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
 Inheritance diagram for ilSkillLevelDBRepository:
 Collaboration diagram for ilSkillLevelDBRepository:Public Member Functions | |
| __construct (ilSkillTreeRepository $tree_repo, ilDBInterface $db=null) | |
| deleteLevelsOfSkill (int $skill_id) | |
| addLevel (int $skill_id, string $a_title, string $a_description, string $a_import_id="") | |
| getLevelData (int $skill_id, int $a_id=0) | |
| Returns multiple rows when $a_id is 0 else one or [].  More... | |
| lookupLevelTitle (int $a_id) | |
| lookupLevelDescription (int $a_id) | |
| lookupLevelSkillId (int $a_id) | |
| lookupLevelNumber (int $a_id) | |
| writeLevelTitle (int $a_id, string $a_title) | |
| writeLevelDescription (int $a_id, string $a_description) | |
| updateLevelOrder (array $order) | |
| deleteLevel (int $a_id) | |
| fixLevelNumbering (int $skill_id) | |
| getSkillForLevelId (int $a_level_id) | |
Protected Member Functions | |
| getMaxLevelNr (int $skill_id) | |
| lookupLevelProperty (int $a_id, string $a_prop) | |
| writeLevelProperty (int $a_id, string $a_prop, ?string $a_value, string $a_type) | |
Protected Attributes | |
| ilDBInterface | $db | 
| ilSkillTreeRepository | $tree_repo | 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilSkillLevelDBRepository
Definition at line 25 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::__construct | ( | ilSkillTreeRepository | $tree_repo, | 
| ilDBInterface | $db = null  | 
        ||
| ) | 
Definition at line 30 of file class.ilSkillLevelDBRepository.php.
References $db, $DIC, and $tree_repo.
| ilSkillLevelDBRepository::addLevel | ( | int | $skill_id, | 
| string | $a_title, | ||
| string | $a_description, | ||
| string | $a_import_id = ""  | 
        ||
| ) | 
Implements ilSkillLevelRepository.
Definition at line 49 of file class.ilSkillLevelDBRepository.php.
References $db, $ilDB, getMaxLevelNr(), and ilUtil\now().
 Here is the call graph for this function:| ilSkillLevelDBRepository::deleteLevel | ( | int | $a_id | ) | 
Implements ilSkillLevelRepository.
Definition at line 175 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::deleteLevelsOfSkill | ( | int | $skill_id | ) | 
Implements ilSkillLevelRepository.
Definition at line 39 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::fixLevelNumbering | ( | int | $skill_id | ) | 
Implements ilSkillLevelRepository.
Definition at line 185 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::getLevelData | ( | int | $skill_id, | 
| int | $a_id = 0  | 
        ||
| ) | 
Returns multiple rows when $a_id is 0 else one or [].
Implements ilSkillLevelRepository.
Definition at line 81 of file class.ilSkillLevelDBRepository.php.
      
  | 
  protected | 
Definition at line 66 of file class.ilSkillLevelDBRepository.php.
Referenced by addLevel().
 Here is the caller graph for this function:| ilSkillLevelDBRepository::getSkillForLevelId | ( | int | $a_level_id | ) | 
Implements ilSkillLevelRepository.
Definition at line 205 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::lookupLevelDescription | ( | int | $a_id | ) | 
Implements ilSkillLevelRepository.
Definition at line 124 of file class.ilSkillLevelDBRepository.php.
References lookupLevelProperty().
 Here is the call graph for this function:| ilSkillLevelDBRepository::lookupLevelNumber | ( | int | $a_id | ) | 
Implements ilSkillLevelRepository.
Definition at line 134 of file class.ilSkillLevelDBRepository.php.
References lookupLevelProperty().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 106 of file class.ilSkillLevelDBRepository.php.
Referenced by lookupLevelDescription(), lookupLevelNumber(), lookupLevelSkillId(), and lookupLevelTitle().
 Here is the caller graph for this function:| ilSkillLevelDBRepository::lookupLevelSkillId | ( | int | $a_id | ) | 
Implements ilSkillLevelRepository.
Definition at line 129 of file class.ilSkillLevelDBRepository.php.
References lookupLevelProperty().
 Here is the call graph for this function:| ilSkillLevelDBRepository::lookupLevelTitle | ( | int | $a_id | ) | 
Implements ilSkillLevelRepository.
Definition at line 119 of file class.ilSkillLevelDBRepository.php.
References lookupLevelProperty().
 Here is the call graph for this function:| ilSkillLevelDBRepository::updateLevelOrder | ( | array | $order | ) | 
Implements ilSkillLevelRepository.
Definition at line 160 of file class.ilSkillLevelDBRepository.php.
References $db, $id, and $ilDB.
| ilSkillLevelDBRepository::writeLevelDescription | ( | int | $a_id, | 
| string | $a_description | ||
| ) | 
Implements ilSkillLevelRepository.
Definition at line 155 of file class.ilSkillLevelDBRepository.php.
References writeLevelProperty().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 139 of file class.ilSkillLevelDBRepository.php.
Referenced by writeLevelDescription(), and writeLevelTitle().
 Here is the caller graph for this function:| ilSkillLevelDBRepository::writeLevelTitle | ( | int | $a_id, | 
| string | $a_title | ||
| ) | 
Implements ilSkillLevelRepository.
Definition at line 150 of file class.ilSkillLevelDBRepository.php.
References writeLevelProperty().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 27 of file class.ilSkillLevelDBRepository.php.
Referenced by __construct(), addLevel(), deleteLevel(), deleteLevelsOfSkill(), fixLevelNumbering(), getLevelData(), getMaxLevelNr(), getSkillForLevelId(), lookupLevelProperty(), updateLevelOrder(), and writeLevelProperty().
      
  | 
  protected | 
Definition at line 28 of file class.ilSkillLevelDBRepository.php.
Referenced by __construct().