|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Collaboration diagram for ILIAS\Skill\Personal\AssignedMaterialDBRepository:Public Member Functions | |
| __construct (\ilDBInterface $db=null, Service\SkillInternalFactoryService $factory_service=null) | |
| assign (int $user_id, int $top_skill_id, int $tref_id, int $basic_skill_id, int $level_id, int $wsp_id) | |
| Assign material to skill level. More... | |
| get (int $user_id, int $tref_id, int $level_id) | |
| Get assigned materials (for a skill level and user) More... | |
| getAll (int $user_id, int $skill_id, int $tref_id) | |
| Get all assigned materials (for a skill and user) More... | |
| count (int $user_id, int $tref_id, int $level_id) | |
| Count assigned materials (for a skill level and user) More... | |
| remove (int $user_id, int $tref_id, int $level_id, int $wsp_id) | |
| removeAllForUser (int $user_id) | |
| removeAllForSkill (int $skill_node_id, bool $is_reference) | |
Protected Member Functions | |
| getFromRecord (array $rec) | |
Protected Attributes | |
| ilDBInterface | $db |
| Service SkillInternalFactoryService | $factory_service |
Definition at line 29 of file class.AssignedMaterialDBRepository.php.
| ILIAS\Skill\Personal\AssignedMaterialDBRepository::__construct | ( | \ilDBInterface | $db = null, |
| Service\SkillInternalFactoryService | $factory_service = null |
||
| ) |
Definition at line 34 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Skill\Personal\AssignedMaterialDBRepository\$db, $DIC, and ILIAS\Skill\Personal\AssignedMaterialDBRepository\$factory_service.
| ILIAS\Skill\Personal\AssignedMaterialDBRepository::assign | ( | int | $user_id, |
| int | $top_skill_id, | ||
| int | $tref_id, | ||
| int | $basic_skill_id, | ||
| int | $level_id, | ||
| int | $wsp_id | ||
| ) |
Assign material to skill level.
| int | $user_id | user id |
| int | $top_skill_id | the "selectable" top skill |
| int | $tref_id | template reference id |
| int | $basic_skill_id | the basic skill the level belongs to |
| int | $level_id | level id |
| int | $wsp_id | workspace object |
Definition at line 54 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Skill\Personal\AssignedMaterialDBRepository\$db, and $ilDB.
| ILIAS\Skill\Personal\AssignedMaterialDBRepository::count | ( | int | $user_id, |
| int | $tref_id, | ||
| int | $level_id | ||
| ) |
Count assigned materials (for a skill level and user)
Definition at line 150 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Skill\Personal\AssignedMaterialDBRepository\$db, and $ilDB.
| ILIAS\Skill\Personal\AssignedMaterialDBRepository::get | ( | int | $user_id, |
| int | $tref_id, | ||
| int | $level_id | ||
| ) |
Get assigned materials (for a skill level and user)
Definition at line 90 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Skill\Personal\AssignedMaterialDBRepository\$db, $ilDB, and ILIAS\Skill\Personal\AssignedMaterialDBRepository\getFromRecord().
Here is the call graph for this function:| ILIAS\Skill\Personal\AssignedMaterialDBRepository::getAll | ( | int | $user_id, |
| int | $skill_id, | ||
| int | $tref_id | ||
| ) |
Get all assigned materials (for a skill and user)
Definition at line 111 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Skill\Personal\AssignedMaterialDBRepository\$db, $ilDB, and ILIAS\Skill\Personal\AssignedMaterialDBRepository\getFromRecord().
Here is the call graph for this function:
|
protected |
Definition at line 128 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Repository\int().
Referenced by ILIAS\Skill\Personal\AssignedMaterialDBRepository\get(), and ILIAS\Skill\Personal\AssignedMaterialDBRepository\getAll().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\Skill\Personal\AssignedMaterialDBRepository::remove | ( | int | $user_id, |
| int | $tref_id, | ||
| int | $level_id, | ||
| int | $wsp_id | ||
| ) |
Definition at line 164 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Skill\Personal\AssignedMaterialDBRepository\$db, and $ilDB.
| ILIAS\Skill\Personal\AssignedMaterialDBRepository::removeAllForSkill | ( | int | $skill_node_id, |
| bool | $is_reference | ||
| ) |
Definition at line 186 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Skill\Personal\AssignedMaterialDBRepository\$db, and $ilDB.
| ILIAS\Skill\Personal\AssignedMaterialDBRepository::removeAllForUser | ( | int | $user_id | ) |
Definition at line 177 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Skill\Personal\AssignedMaterialDBRepository\$db, and $ilDB.
|
protected |
Definition at line 31 of file class.AssignedMaterialDBRepository.php.
Referenced by ILIAS\Skill\Personal\AssignedMaterialDBRepository\__construct(), ILIAS\Skill\Personal\AssignedMaterialDBRepository\assign(), ILIAS\Skill\Personal\AssignedMaterialDBRepository\count(), ILIAS\Skill\Personal\AssignedMaterialDBRepository\get(), ILIAS\Skill\Personal\AssignedMaterialDBRepository\getAll(), ILIAS\Skill\Personal\AssignedMaterialDBRepository\remove(), ILIAS\Skill\Personal\AssignedMaterialDBRepository\removeAllForSkill(), and ILIAS\Skill\Personal\AssignedMaterialDBRepository\removeAllForUser().
|
protected |
Definition at line 32 of file class.AssignedMaterialDBRepository.php.
Referenced by ILIAS\Skill\Personal\AssignedMaterialDBRepository\__construct().