|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
Class ilSkillLevelDBRepository. 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) | |
| 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) | |
| 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 |
Class ilSkillLevelDBRepository.
Definition at line 24 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::__construct | ( | ilSkillTreeRepository | $tree_repo, |
| ?ilDBInterface | $db = null |
||
| ) |
Definition at line 29 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 48 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 174 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::deleteLevelsOfSkill | ( | int | $skill_id | ) |
Implements ilSkillLevelRepository.
Definition at line 38 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::fixLevelNumbering | ( | int | $skill_id | ) |
Implements ilSkillLevelRepository.
Definition at line 184 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 80 of file class.ilSkillLevelDBRepository.php.
|
protected |
Definition at line 65 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 204 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::lookupLevelDescription | ( | int | $a_id | ) |
Implements ilSkillLevelRepository.
Definition at line 123 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 133 of file class.ilSkillLevelDBRepository.php.
References lookupLevelProperty().
Here is the call graph for this function:
|
protected |
Definition at line 105 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 128 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 118 of file class.ilSkillLevelDBRepository.php.
References lookupLevelProperty().
Here is the call graph for this function:| ilSkillLevelDBRepository::updateLevelOrder | ( | array | $order | ) |
Implements ilSkillLevelRepository.
Definition at line 159 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::writeLevelDescription | ( | int | $a_id, |
| string | $a_description | ||
| ) |
Implements ilSkillLevelRepository.
Definition at line 154 of file class.ilSkillLevelDBRepository.php.
References writeLevelProperty().
Here is the call graph for this function:
|
protected |
Definition at line 138 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 149 of file class.ilSkillLevelDBRepository.php.
References writeLevelProperty().
Here is the call graph for this function:
|
protected |
Definition at line 26 of file class.ilSkillLevelDBRepository.php.
Referenced by __construct(), addLevel(), deleteLevel(), deleteLevelsOfSkill(), fixLevelNumbering(), getLevelData(), getMaxLevelNr(), getSkillForLevelId(), lookupLevelProperty(), updateLevelOrder(), and writeLevelProperty().
|
protected |
Definition at line 27 of file class.ilSkillLevelDBRepository.php.
Referenced by __construct().