ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct (?\ilDBInterface $db=null) | |
add (int $obj_id, int $skill_id, int $tref_id) | |
remove (int $obj_id, int $skill_id, int $tref_id) | |
removeFromObject (int $obj_id) | |
removeForSkill (int $node_id, bool $is_referenece=false) | |
getUsages (int $skill_id, int $tref_id) | |
getUsageInfoGeneric (array $cskill_ids, string $usage_type, string $table, string $key_field, string $skill_field="skill_id", string $tref_field="tref_id") | |
Get standard usage query. More... | |
Protected Attributes | |
ilDBInterface | $db |
Definition at line 23 of file class.SkillUsageDBRepository.php.
ILIAS\Skill\Usage\SkillUsageDBRepository::__construct | ( | ?\ilDBInterface | $db = null | ) |
Definition at line 27 of file class.SkillUsageDBRepository.php.
References ILIAS\Skill\Usage\SkillUsageDBRepository\$db, and $DIC.
ILIAS\Skill\Usage\SkillUsageDBRepository::add | ( | int | $obj_id, |
int | $skill_id, | ||
int | $tref_id | ||
) |
Definition at line 35 of file class.SkillUsageDBRepository.php.
ILIAS\Skill\Usage\SkillUsageDBRepository::getUsageInfoGeneric | ( | array | $cskill_ids, |
string | $usage_type, | ||
string | $table, | ||
string | $key_field, | ||
string | $skill_field = "skill_id" , |
||
string | $tref_field = "tref_id" |
||
) |
Get standard usage query.
array{skill_id | int, tref_id: int}[] $cskill_ids |
Definition at line 105 of file class.SkillUsageDBRepository.php.
References $q.
ILIAS\Skill\Usage\SkillUsageDBRepository::getUsages | ( | int | $skill_id, |
int | $tref_id | ||
) |
Definition at line 84 of file class.SkillUsageDBRepository.php.
References ILIAS\Repository\int().
ILIAS\Skill\Usage\SkillUsageDBRepository::remove | ( | int | $obj_id, |
int | $skill_id, | ||
int | $tref_id | ||
) |
Definition at line 48 of file class.SkillUsageDBRepository.php.
ILIAS\Skill\Usage\SkillUsageDBRepository::removeForSkill | ( | int | $node_id, |
bool | $is_referenece = false |
||
) |
Definition at line 66 of file class.SkillUsageDBRepository.php.
ILIAS\Skill\Usage\SkillUsageDBRepository::removeFromObject | ( | int | $obj_id | ) |
Definition at line 58 of file class.SkillUsageDBRepository.php.
|
protected |
Definition at line 25 of file class.SkillUsageDBRepository.php.
Referenced by ILIAS\Skill\Usage\SkillUsageDBRepository\__construct().