| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
 Collaboration diagram for ILIAS\Skill\Usage\SkillUsageDBRepository: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 24 of file class.SkillUsageDBRepository.php.
| ILIAS\Skill\Usage\SkillUsageDBRepository::__construct | ( | \ilDBInterface | $db = null | ) | 
Definition at line 28 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 36 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 106 of file class.SkillUsageDBRepository.php.
References $q.
| ILIAS\Skill\Usage\SkillUsageDBRepository::getUsages | ( | int | $skill_id, | 
| int | $tref_id | ||
| ) | 
Definition at line 85 of file class.SkillUsageDBRepository.php.
References ILIAS\Repository\int().
 Here is the call graph for this function:| ILIAS\Skill\Usage\SkillUsageDBRepository::remove | ( | int | $obj_id, | 
| int | $skill_id, | ||
| int | $tref_id | ||
| ) | 
Definition at line 49 of file class.SkillUsageDBRepository.php.
| ILIAS\Skill\Usage\SkillUsageDBRepository::removeForSkill | ( | int | $node_id, | 
| bool | $is_referenece = false  | 
        ||
| ) | 
Definition at line 67 of file class.SkillUsageDBRepository.php.
| ILIAS\Skill\Usage\SkillUsageDBRepository::removeFromObject | ( | int | $obj_id | ) | 
Definition at line 59 of file class.SkillUsageDBRepository.php.
      
  | 
  protected | 
Definition at line 26 of file class.SkillUsageDBRepository.php.
Referenced by ILIAS\Skill\Usage\SkillUsageDBRepository\__construct().