ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
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 28 of file class.AssignedMaterialDBRepository.php.
ILIAS\Skill\Personal\AssignedMaterialDBRepository::__construct | ( | ?\ilDBInterface | $db = null , |
?Service\SkillInternalFactoryService | $factory_service = null |
||
) |
Definition at line 33 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 53 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 149 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 89 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Skill\Personal\AssignedMaterialDBRepository\$db, $ilDB, and ILIAS\Skill\Personal\AssignedMaterialDBRepository\getFromRecord().
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 110 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Skill\Personal\AssignedMaterialDBRepository\$db, $ilDB, and ILIAS\Skill\Personal\AssignedMaterialDBRepository\getFromRecord().
|
protected |
Definition at line 127 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Repository\int().
Referenced by ILIAS\Skill\Personal\AssignedMaterialDBRepository\get(), and ILIAS\Skill\Personal\AssignedMaterialDBRepository\getAll().
ILIAS\Skill\Personal\AssignedMaterialDBRepository::remove | ( | int | $user_id, |
int | $tref_id, | ||
int | $level_id, | ||
int | $wsp_id | ||
) |
Definition at line 163 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 185 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Skill\Personal\AssignedMaterialDBRepository\$db, and $ilDB.
ILIAS\Skill\Personal\AssignedMaterialDBRepository::removeAllForUser | ( | int | $user_id | ) |
Definition at line 176 of file class.AssignedMaterialDBRepository.php.
References ILIAS\Skill\Personal\AssignedMaterialDBRepository\$db, and $ilDB.
|
protected |
Definition at line 30 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 31 of file class.AssignedMaterialDBRepository.php.
Referenced by ILIAS\Skill\Personal\AssignedMaterialDBRepository\__construct().