ILIAS
Release_5_0_x_branch Revision 61816
|
Public Member Functions | |
__construct (ilDB $db) | |
setTestId ($testId) | |
getTestId () | |
reset () | |
loadFromDb () | |
loadAdditionalSkillData () | |
getAssignmentsByQuestionId ($questionId) | |
getUniqueAssignedSkills () | |
isAssignedSkill ($skillBaseId, $skillTrefId) | |
getNumAssignsBySkill ($skillBaseId, $skillTrefId) | |
getMaxPointsBySkill ($skillBaseId, $skillTrefId) |
Private Member Functions | |
addAssignment (ilTestSkillQuestionAssignment $assignment) | |
incrementNumAssignsBySkill (ilTestSkillQuestionAssignment $assignment) | |
incrementMaxPointsBySkill (ilTestSkillQuestionAssignment $assignment) | |
buildSkillQuestionAssignmentByArray ($data) | |
buildSkillKey ($skillBaseId, $skillTrefId) |
Private Attributes | |
$db | |
$testId | |
$assignments | |
$numAssignsBySkill | |
$maxPointsBySkill |
Definition at line 12 of file class.ilTestSkillQuestionAssignmentList.php.
ilTestSkillQuestionAssignmentList::__construct | ( | ilDB | $db | ) |
Definition at line 39 of file class.ilTestSkillQuestionAssignmentList.php.
References $db.
|
private |
Definition at line 67 of file class.ilTestSkillQuestionAssignmentList.php.
References ilTestSkillQuestionAssignment\getQuestionId().
Referenced by loadFromDb().
|
private |
Definition at line 140 of file class.ilTestSkillQuestionAssignmentList.php.
Referenced by getMaxPointsBySkill(), getNumAssignsBySkill(), getUniqueAssignedSkills(), incrementMaxPointsBySkill(), and incrementNumAssignsBySkill().
|
private |
array | $data |
Definition at line 127 of file class.ilTestSkillQuestionAssignmentList.php.
Referenced by loadFromDb().
ilTestSkillQuestionAssignmentList::getAssignmentsByQuestionId | ( | $questionId | ) |
Definition at line 156 of file class.ilTestSkillQuestionAssignmentList.php.
ilTestSkillQuestionAssignmentList::getMaxPointsBySkill | ( | $skillBaseId, | |
$skillTrefId | |||
) |
Definition at line 221 of file class.ilTestSkillQuestionAssignmentList.php.
References buildSkillKey().
Referenced by getUniqueAssignedSkills().
ilTestSkillQuestionAssignmentList::getNumAssignsBySkill | ( | $skillBaseId, | |
$skillTrefId | |||
) |
Definition at line 216 of file class.ilTestSkillQuestionAssignmentList.php.
References buildSkillKey().
Referenced by getUniqueAssignedSkills().
ilTestSkillQuestionAssignmentList::getTestId | ( | ) |
Definition at line 55 of file class.ilTestSkillQuestionAssignmentList.php.
References $testId.
Referenced by loadFromDb().
ilTestSkillQuestionAssignmentList::getUniqueAssignedSkills | ( | ) |
Definition at line 166 of file class.ilTestSkillQuestionAssignmentList.php.
References buildSkillKey(), getMaxPointsBySkill(), and getNumAssignsBySkill().
Referenced by isAssignedSkill().
|
private |
Definition at line 89 of file class.ilTestSkillQuestionAssignmentList.php.
References buildSkillKey(), ilTestSkillQuestionAssignment\getSkillBaseId(), ilTestSkillQuestionAssignment\getSkillPoints(), and ilTestSkillQuestionAssignment\getSkillTrefId().
Referenced by loadFromDb().
|
private |
Definition at line 77 of file class.ilTestSkillQuestionAssignmentList.php.
References buildSkillKey(), ilTestSkillQuestionAssignment\getSkillBaseId(), and ilTestSkillQuestionAssignment\getSkillTrefId().
Referenced by loadFromDb().
ilTestSkillQuestionAssignmentList::isAssignedSkill | ( | $skillBaseId, | |
$skillTrefId | |||
) |
Definition at line 198 of file class.ilTestSkillQuestionAssignmentList.php.
References getUniqueAssignedSkills().
ilTestSkillQuestionAssignmentList::loadAdditionalSkillData | ( | ) |
Definition at line 145 of file class.ilTestSkillQuestionAssignmentList.php.
ilTestSkillQuestionAssignmentList::loadFromDb | ( | ) |
Definition at line 101 of file class.ilTestSkillQuestionAssignmentList.php.
References $query, $res, $row, addAssignment(), buildSkillQuestionAssignmentByArray(), getTestId(), incrementMaxPointsBySkill(), incrementNumAssignsBySkill(), and reset().
ilTestSkillQuestionAssignmentList::reset | ( | ) |
Definition at line 60 of file class.ilTestSkillQuestionAssignmentList.php.
Referenced by loadFromDb().
ilTestSkillQuestionAssignmentList::setTestId | ( | $testId | ) |
int | $testId |
Definition at line 47 of file class.ilTestSkillQuestionAssignmentList.php.
References $testId.
|
private |
Definition at line 27 of file class.ilTestSkillQuestionAssignmentList.php.
|
private |
Definition at line 17 of file class.ilTestSkillQuestionAssignmentList.php.
Referenced by __construct().
|
private |
Definition at line 37 of file class.ilTestSkillQuestionAssignmentList.php.
|
private |
Definition at line 32 of file class.ilTestSkillQuestionAssignmentList.php.
|
private |
Definition at line 22 of file class.ilTestSkillQuestionAssignmentList.php.
Referenced by getTestId(), and setTestId().