|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Member administration related logic, add and remove members, get the list of all members, etc. More...
Inheritance diagram for ilIndividualAssessmentMembers:
Collaboration diagram for ilIndividualAssessmentMembers:Public Member Functions | |
| __construct (ilObjIndividualAssessment $iass) | |
| count () | |
| Countable Methods. More... | |
| current () | |
| Iterator Methods. More... | |
| key () | |
| next () | |
| rewind () | |
| valid () | |
| referencedObject () | |
| Get the Individual assessment object that is corresponding to this. More... | |
| recordOK (array $record) | |
| Check the validity of a record before adding it to this. More... | |
| userAllreadyMemberByUsrId ($usr_id) | |
| Check if a user with user_id is member of this. More... | |
| userAllreadyMember (ilObjUser $usr) | |
| Check if a user is member of this. More... | |
| withAdditionalRecord (array $record) | |
| Clone this and add an additional record. More... | |
| withAdditionalUser (ilObjUser $usr) | |
| Clone this and add an additional record created for user. More... | |
| withoutPresentUser (ilObjUser $usr) | |
| Clone this andremove record corresponding to user. More... | |
| membersIds () | |
| Get the ids of all the users being member in this iass. More... | |
| updateStorageAndRBAC (ilIndividualAssessmentMembersStorage $storage, IndividualAssessmentAccessHandler $access_handler) | |
| Store the data to a persistent medium. More... | |
Data Fields | |
| const | FIELD_FIRSTNAME = 'firstname' |
| const | FIELD_LASTNAME = 'lastname' |
| const | FIELD_LOGIN = 'login' |
| const | FIELD_USR_ID = 'usr_id' |
| const | FIELD_LEARNING_PROGRESS = 'learning_progress' |
| const | FIELD_EXAMINER_ID = 'examiner_id' |
| const | FIELD_EXAMINER_FIRSTNAME = 'examiner_firstname' |
| const | FIELD_EXAMINER_LASTNAME = 'examiner_lastname' |
| const | FIELD_RECORD = 'record' |
| const | FIELD_INTERNAL_NOTE = 'internal_note' |
| const | FIELD_NOTIFY = 'notify' |
| const | FIELD_FINALIZED = 'finalized' |
| const | FIELD_NOTIFICATION_TS = 'notification_ts' |
| const | LP_NOT_ATTEMPTED = ilLPStatus::LP_STATUS_NOT_ATTEMPTED_NUM |
| const | LP_IN_PROGRESS = ilLPStatus::LP_STATUS_IN_PROGRESS_NUM |
| const | LP_COMPLETED = ilLPStatus::LP_STATUS_COMPLETED_NUM |
| const | LP_FAILED = ilLPStatus::LP_STATUS_FAILED_NUM |
Protected Member Functions | |
| userExists ($usr_id) | |
| buildNewRecordOfUser (ilObjUser $usr) | |
Protected Attributes | |
| $member_records = array() | |
| $position = 0 | |
| $iass | |
Member administration related logic, add and remove members, get the list of all members, etc.
Definition at line 12 of file class.ilIndividualAssessmentMembers.php.
| ilIndividualAssessmentMembers::__construct | ( | ilObjIndividualAssessment | $iass | ) |
Definition at line 36 of file class.ilIndividualAssessmentMembers.php.
References $iass.
|
protected |
Definition at line 157 of file class.ilIndividualAssessmentMembers.php.
References ilObjUser\getFirstname(), ilObject\getId(), ilObjUser\getLastname(), and ilObjUser\getLogin().
Referenced by withAdditionalUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilIndividualAssessmentMembers::count | ( | ) |
Countable Methods.
Definition at line 43 of file class.ilIndividualAssessmentMembers.php.
References count().
Referenced by count(), and valid().
Here is the call graph for this function:
Here is the caller graph for this function:| ilIndividualAssessmentMembers::current | ( | ) |
Iterator Methods.
Definition at line 50 of file class.ilIndividualAssessmentMembers.php.
References current().
Referenced by current().
Here is the call graph for this function:
Here is the caller graph for this function:| ilIndividualAssessmentMembers::key | ( | ) |
Definition at line 54 of file class.ilIndividualAssessmentMembers.php.
References key().
Referenced by key().
Here is the call graph for this function:
Here is the caller graph for this function:| ilIndividualAssessmentMembers::membersIds | ( | ) |
Get the ids of all the users being member in this iass.
Definition at line 197 of file class.ilIndividualAssessmentMembers.php.
| ilIndividualAssessmentMembers::next | ( | ) |
Definition at line 58 of file class.ilIndividualAssessmentMembers.php.
References next().
Referenced by next().
Here is the call graph for this function:
Here is the caller graph for this function:| ilIndividualAssessmentMembers::recordOK | ( | array | $record | ) |
Check the validity of a record before adding it to this.
| int | string | null[] | $record |
Definition at line 87 of file class.ilIndividualAssessmentMembers.php.
References userAllreadyMemberByUsrId(), and userExists().
Referenced by withAdditionalRecord().
Here is the call graph for this function:
Here is the caller graph for this function:| ilIndividualAssessmentMembers::referencedObject | ( | ) |
Get the Individual assessment object that is corresponding to this.
Definition at line 77 of file class.ilIndividualAssessmentMembers.php.
References $iass.
Referenced by updateStorageAndRBAC().
Here is the caller graph for this function:| ilIndividualAssessmentMembers::rewind | ( | ) |
Definition at line 63 of file class.ilIndividualAssessmentMembers.php.
| ilIndividualAssessmentMembers::updateStorageAndRBAC | ( | ilIndividualAssessmentMembersStorage | $storage, |
| IndividualAssessmentAccessHandler | $access_handler | ||
| ) |
Store the data to a persistent medium.
| ilIndividualAssessmentMembersStorage | $storage | |
| IndividualAssessmentAccessHandler | $access_handler |
Definition at line 207 of file class.ilIndividualAssessmentMembers.php.
References $iass, IndividualAssessmentAccessHandler\assignUserToMemberRole(), IndividualAssessmentAccessHandler\deassignUserFromMemberRole(), ilIndividualAssessmentMembersStorage\insertMembersRecord(), ilIndividualAssessmentMembersStorage\loadMembers(), referencedObject(), ilIndividualAssessmentMembersStorage\removeMembersRecord(), and userAllreadyMemberByUsrId().
Referenced by ilObjIndividualAssessment\updateMembers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilIndividualAssessmentMembers::userAllreadyMember | ( | ilObjUser | $usr | ) |
Check if a user is member of this.
| ilObjUser | $usr |
Definition at line 117 of file class.ilIndividualAssessmentMembers.php.
References ilObject\getId(), and userAllreadyMemberByUsrId().
Referenced by withAdditionalUser().
Here is the call graph for this function:
Here is the caller graph for this function:| ilIndividualAssessmentMembers::userAllreadyMemberByUsrId | ( | $usr_id | ) |
Check if a user with user_id is member of this.
| int | string | $usr_id |
Definition at line 107 of file class.ilIndividualAssessmentMembers.php.
Referenced by recordOK(), updateStorageAndRBAC(), and userAllreadyMember().
Here is the caller graph for this function:
|
protected |
Definition at line 121 of file class.ilIndividualAssessmentMembers.php.
References ilObject\_exists().
Referenced by recordOK().
Here is the call graph for this function:
Here is the caller graph for this function:| ilIndividualAssessmentMembers::valid | ( | ) |
Definition at line 68 of file class.ilIndividualAssessmentMembers.php.
References count().
Here is the call graph for this function:| ilIndividualAssessmentMembers::withAdditionalRecord | ( | array | $record | ) |
Clone this and add an additional record.
| int | string | null[] | $record |
| ilIndividualAssessmentException |
Definition at line 132 of file class.ilIndividualAssessmentMembers.php.
References FIELD_USR_ID, and recordOK().
Here is the call graph for this function:| ilIndividualAssessmentMembers::withAdditionalUser | ( | ilObjUser | $usr | ) |
Clone this and add an additional record created for user.
| ilObjUser | $usr |
| ilIndividualAssessmentException |
Definition at line 148 of file class.ilIndividualAssessmentMembers.php.
References buildNewRecordOfUser(), ilObject\getId(), and userAllreadyMember().
Here is the call graph for this function:| ilIndividualAssessmentMembers::withoutPresentUser | ( | ilObjUser | $usr | ) |
Clone this andremove record corresponding to user.
| ilObjUser | $usr |
| ilIndividualAssessmentException |
Definition at line 181 of file class.ilIndividualAssessmentMembers.php.
References ilObject\getId().
Here is the call graph for this function:
|
protected |
Definition at line 15 of file class.ilIndividualAssessmentMembers.php.
Referenced by __construct(), referencedObject(), and updateStorageAndRBAC().
|
protected |
Definition at line 13 of file class.ilIndividualAssessmentMembers.php.
|
protected |
Definition at line 14 of file class.ilIndividualAssessmentMembers.php.
| const ilIndividualAssessmentMembers::FIELD_EXAMINER_FIRSTNAME = 'examiner_firstname' |
Definition at line 23 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilIndividualAssessmentMembersTableGUI\fillRow().
| const ilIndividualAssessmentMembers::FIELD_EXAMINER_ID = 'examiner_id' |
Definition at line 22 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilIndividualAssessmentMember\__construct(), ilIndividualAssessmentMembersTableGUI\fillRow(), ilIndividualAssessmentMembersTableGUI\setWasEditedByOtherUser(), and ilIndividualAssessmentMembersStorageDB\updateMember().
| const ilIndividualAssessmentMembers::FIELD_EXAMINER_LASTNAME = 'examiner_lastname' |
Definition at line 24 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilIndividualAssessmentMembersTableGUI\fillRow(), and ilIndividualAssessmentMembersStorageDB\loadMembersQuery().
| const ilIndividualAssessmentMembers::FIELD_FINALIZED = 'finalized' |
Definition at line 28 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilIndividualAssessmentMember\__construct(), ilIndividualAssessmentMembersTableGUI\fillRow(), and ilIndividualAssessmentMembersStorageDB\updateMember().
| const ilIndividualAssessmentMembers::FIELD_FIRSTNAME = 'firstname' |
Definition at line 17 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilIndividualAssessmentMembersTableGUI\fillRow(), and ilIndividualAssessmentMembersStorageDB\loadMembersQuery().
| const ilIndividualAssessmentMembers::FIELD_INTERNAL_NOTE = 'internal_note' |
Definition at line 26 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilIndividualAssessmentMember\__construct(), and ilIndividualAssessmentMembersStorageDB\updateMember().
| const ilIndividualAssessmentMembers::FIELD_LASTNAME = 'lastname' |
Definition at line 18 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilIndividualAssessmentMembersTableGUI\fillRow(), and ilIndividualAssessmentMembersStorageDB\loadMembersQuery().
| const ilIndividualAssessmentMembers::FIELD_LEARNING_PROGRESS = 'learning_progress' |
| const ilIndividualAssessmentMembers::FIELD_LOGIN = 'login' |
Definition at line 19 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilIndividualAssessmentMembersTableGUI\fillRow(), and ilIndividualAssessmentMembersStorageDB\loadMembersQuery().
| const ilIndividualAssessmentMembers::FIELD_NOTIFICATION_TS = 'notification_ts' |
Definition at line 29 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilIndividualAssessmentMember\__construct(), and ilIndividualAssessmentMembersStorageDB\updateMember().
| const ilIndividualAssessmentMembers::FIELD_NOTIFY = 'notify' |
Definition at line 27 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilIndividualAssessmentMember\__construct(), and ilIndividualAssessmentMembersStorageDB\updateMember().
| const ilIndividualAssessmentMembers::FIELD_RECORD = 'record' |
Definition at line 25 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilIndividualAssessmentMember\__construct(), ilIndividualAssessmentMembersTest\compareMembersUsrList(), ilIndividualAssessmentMembersStorageDB\insertMembersRecord(), and ilIndividualAssessmentMembersStorageDB\updateMember().
| const ilIndividualAssessmentMembers::FIELD_USR_ID = 'usr_id' |
| const ilIndividualAssessmentMembers::LP_COMPLETED = ilLPStatus::LP_STATUS_COMPLETED_NUM |
Definition at line 33 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilLPStatusIndividualAssessment\_getCompleted(), ilObjIndividualAssessmentAccess\checkCondition(), ilLPStatusIndividualAssessment\determineStatus(), ilIndividualAssessmentLPInterface\determineStatusOfMember(), ilIndividualAssessmentMembersTableGUI\getEntryForStatus(), ilObjIndividualAssessmentGUI\getEntryForStatus(), ilIndividualAssessmentMembersTableGUI\getImagetPathForStatus(), ilIndividualAssessmentMemberGUI\initGradingForm(), ilIndividualAssessmentMember\LPStatusValid(), ilIndividualAssessmentMember\mayBeFinalized(), ilIndividualAssessmentMember\maybeSendNotification(), ilIndividualAssessmentMembersTest\test_finalize_graded(), and ilIndividualAssessmentMembersTest\test_re_grade().
| const ilIndividualAssessmentMembers::LP_FAILED = ilLPStatus::LP_STATUS_FAILED_NUM |
Definition at line 34 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilLPStatusIndividualAssessment\_getFailed(), ilObjIndividualAssessmentAccess\checkCondition(), ilLPStatusIndividualAssessment\determineStatus(), ilIndividualAssessmentLPInterface\determineStatusOfMember(), ilIndividualAssessmentMembersTableGUI\getEntryForStatus(), ilObjIndividualAssessmentGUI\getEntryForStatus(), ilIndividualAssessmentMembersTableGUI\getImagetPathForStatus(), ilIndividualAssessmentMemberGUI\initGradingForm(), ilIndividualAssessmentMember\LPStatusValid(), and ilIndividualAssessmentMember\mayBeFinalized().
| const ilIndividualAssessmentMembers::LP_IN_PROGRESS = ilLPStatus::LP_STATUS_IN_PROGRESS_NUM |
Definition at line 32 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilLPStatusIndividualAssessment\_getInProgress(), ilLPStatusIndividualAssessment\determineStatus(), ilIndividualAssessmentMembersTableGUI\fillRow(), ilIndividualAssessmentMembersTableGUI\getEntryForStatus(), ilObjIndividualAssessmentGUI\getEntryForStatus(), ilIndividualAssessmentMembersTableGUI\getImagetPathForStatus(), ilIndividualAssessmentMemberGUI\initGradingForm(), and ilIndividualAssessmentMember\LPStatusValid().
| const ilIndividualAssessmentMembers::LP_NOT_ATTEMPTED = ilLPStatus::LP_STATUS_NOT_ATTEMPTED_NUM |
Definition at line 31 of file class.ilIndividualAssessmentMembers.php.
Referenced by ilLPStatusIndividualAssessment\_getNotAttempted(), ilLPStatusIndividualAssessment\determineStatus(), and ilIndividualAssessmentMember\LPStatusValid().