|
ILIAS
release_8 Revision v8.24
|
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) | |
| 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) | |
| 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 23 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::__construct | ( | ilSkillTreeRepository | $tree_repo, |
| ilDBInterface | $db = null |
||
| ) |
Definition at line 28 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 47 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 168 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::deleteLevelsOfSkill | ( | int | $skill_id | ) |
Implements ilSkillLevelRepository.
Definition at line 37 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::fixLevelNumbering | ( | int | $skill_id | ) |
Implements ilSkillLevelRepository.
Definition at line 178 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 79 of file class.ilSkillLevelDBRepository.php.
|
protected |
Definition at line 64 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 198 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::lookupLevelDescription | ( | int | $a_id | ) |
Implements ilSkillLevelRepository.
Definition at line 122 of file class.ilSkillLevelDBRepository.php.
References lookupLevelProperty().
Here is the call graph for this function:
|
protected |
Definition at line 104 of file class.ilSkillLevelDBRepository.php.
Referenced by lookupLevelDescription(), lookupLevelSkillId(), and lookupLevelTitle().
Here is the caller graph for this function:| ilSkillLevelDBRepository::lookupLevelSkillId | ( | int | $a_id | ) |
Implements ilSkillLevelRepository.
Definition at line 127 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 117 of file class.ilSkillLevelDBRepository.php.
References lookupLevelProperty().
Here is the call graph for this function:| ilSkillLevelDBRepository::updateLevelOrder | ( | array | $order | ) |
Implements ilSkillLevelRepository.
Definition at line 153 of file class.ilSkillLevelDBRepository.php.
| ilSkillLevelDBRepository::writeLevelDescription | ( | int | $a_id, |
| string | $a_description | ||
| ) |
Implements ilSkillLevelRepository.
Definition at line 148 of file class.ilSkillLevelDBRepository.php.
References writeLevelProperty().
Here is the call graph for this function:
|
protected |
Definition at line 132 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 143 of file class.ilSkillLevelDBRepository.php.
References writeLevelProperty().
Here is the call graph for this function:
|
protected |
Definition at line 25 of file class.ilSkillLevelDBRepository.php.
Referenced by __construct(), addLevel(), deleteLevel(), deleteLevelsOfSkill(), fixLevelNumbering(), getLevelData(), getMaxLevelNr(), getSkillForLevelId(), lookupLevelProperty(), updateLevelOrder(), and writeLevelProperty().
|
protected |
Definition at line 26 of file class.ilSkillLevelDBRepository.php.
Referenced by __construct().