ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
Public Member Functions | |
__construct (private ilObjTest $test_obj, private ilObjUser $user, private ilLanguage $lng, private ilDBInterface $db) | |
setTestObj (ilObjTest $test_obj) | |
addParticipant (ilTestParticipant $participant) | |
getParticipantByUsrId (int $usr_id) | |
getParticipantByActiveId ($active_id) | |
hasUnfinishedPasses () | |
hasScorings () | |
getAllUserIds () | |
getAllActiveIds () | |
isActiveIdInList (int $active_id) | |
getAccessFilteredList (Closure $user_access_filter) | |
current () | |
next () | |
key () | |
valid () | |
rewind () | |
initializeFromDbRows (array $db_rows) | |
getScoredParticipantList () | |
buildScoringsQuery () | |
getScoringTableRows () | |
getScoringsTableRows () | |
lookupNrOfTries (?int $active_id) | |
Protected Member Functions | |
lookupLastAccess (?int $active_id) | |
buildFullname (ilTestParticipant $participant) | |
buildInviteeFullname (ilTestParticipant $participant) | |
buildParticipantsFullname (ilTestParticipant $participant) | |
Protected Attributes | |
array | $participants = [] |
Private Member Functions | |
getTestObj () | |
Definition at line 30 of file class.ilTestParticipantList.php.
ilTestParticipantList::__construct | ( | private ilObjTest | $test_obj, |
private ilObjUser | $user, | ||
private ilLanguage | $lng, | ||
private ilDBInterface | $db | ||
) |
Definition at line 37 of file class.ilTestParticipantList.php.
ilTestParticipantList::addParticipant | ( | ilTestParticipant | $participant | ) |
Definition at line 55 of file class.ilTestParticipantList.php.
Referenced by initializeFromDbRows().
|
protected |
Definition at line 336 of file class.ilTestParticipantList.php.
References buildInviteeFullname(), buildParticipantsFullname(), ilTestParticipant\getActiveId(), and getTestObj().
Referenced by getScoringsTableRows().
|
protected |
Definition at line 345 of file class.ilTestParticipantList.php.
References ilTestParticipant\getFirstname(), ilTestParticipant\getLastname(), getTestObj(), and ILIAS\Repository\lng().
Referenced by buildFullname().
|
protected |
Definition at line 358 of file class.ilTestParticipantList.php.
References ilObjTestAccess\_getParticipantData(), and ilTestParticipant\getActiveId().
Referenced by buildFullname().
ilTestParticipantList::buildScoringsQuery | ( | ) |
Definition at line 231 of file class.ilTestParticipantList.php.
References getAllActiveIds().
Referenced by getScoredParticipantList().
ilTestParticipantList::current | ( | ) |
Definition at line 155 of file class.ilTestParticipantList.php.
ilTestParticipantList::getAccessFilteredList | ( | Closure | $user_access_filter | ) |
Definition at line 139 of file class.ilTestParticipantList.php.
References $lng, getAllUserIds(), and getTestObj().
ilTestParticipantList::getAllActiveIds | ( | ) |
Definition at line 117 of file class.ilTestParticipantList.php.
Referenced by buildScoringsQuery().
ilTestParticipantList::getAllUserIds | ( | ) |
Definition at line 106 of file class.ilTestParticipantList.php.
Referenced by getAccessFilteredList().
ilTestParticipantList::getParticipantByActiveId | ( | $active_id | ) |
Definition at line 72 of file class.ilTestParticipantList.php.
References null.
Referenced by getScoredParticipantList().
ilTestParticipantList::getParticipantByUsrId | ( | int | $usr_id | ) |
Definition at line 60 of file class.ilTestParticipantList.php.
References null.
ilTestParticipantList::getScoredParticipantList | ( | ) |
Definition at line 200 of file class.ilTestParticipantList.php.
References $lng, $res, buildScoringsQuery(), getParticipantByActiveId(), and getTestObj().
ilTestParticipantList::getScoringsTableRows | ( | ) |
Definition at line 271 of file class.ilTestParticipantList.php.
References buildFullname().
ilTestParticipantList::getScoringTableRows | ( | ) |
Definition at line 252 of file class.ilTestParticipantList.php.
|
private |
Definition at line 45 of file class.ilTestParticipantList.php.
Referenced by buildFullname(), buildInviteeFullname(), getAccessFilteredList(), getScoredParticipantList(), and lookupLastAccess().
ilTestParticipantList::hasScorings | ( | ) |
Definition at line 95 of file class.ilTestParticipantList.php.
ilTestParticipantList::hasUnfinishedPasses | ( | ) |
Definition at line 84 of file class.ilTestParticipantList.php.
ilTestParticipantList::initializeFromDbRows | ( | array | $db_rows | ) |
Definition at line 176 of file class.ilTestParticipantList.php.
References addParticipant().
ilTestParticipantList::isActiveIdInList | ( | int | $active_id | ) |
Definition at line 128 of file class.ilTestParticipantList.php.
ilTestParticipantList::key | ( | ) |
Definition at line 163 of file class.ilTestParticipantList.php.
Referenced by valid().
|
protected |
Definition at line 327 of file class.ilTestParticipantList.php.
References getTestObj(), and null.
ilTestParticipantList::lookupNrOfTries | ( | ?int | $active_id | ) |
Definition at line 312 of file class.ilTestParticipantList.php.
References ilObjTest\_getMaxPass(), and null.
ilTestParticipantList::next | ( | ) |
Definition at line 159 of file class.ilTestParticipantList.php.
ilTestParticipantList::rewind | ( | ) |
Definition at line 171 of file class.ilTestParticipantList.php.
ilTestParticipantList::setTestObj | ( | ilObjTest | $test_obj | ) |
Definition at line 50 of file class.ilTestParticipantList.php.
ilTestParticipantList::valid | ( | ) |
Definition at line 167 of file class.ilTestParticipantList.php.
|
protected |
Definition at line 35 of file class.ilTestParticipantList.php.