ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Store member infos to DB. More...
Public Member Functions | |||||||
__construct ($ilDB) | |||||||
loadMembers (ilObjIndividualAssessment $obj) | |||||||
Get ilIndividualAssessmentMembers-object containing meberinfo associated with $obj.
| |||||||
loadMember (ilObjIndividualAssessment $obj, ilObjUser $usr) | |||||||
Get ilIndividualAssessmentMember-object containing meberinfo associated with $obj and $usr.
| |||||||
updateMember (ilIndividualAssessmentMember $member) | |||||||
Create a new storage entry for member-object.
| |||||||
deleteMembers (ilObjIndividualAssessment $obj) | |||||||
Delete entries associated with members-object.
| |||||||
insertMembersRecord (ilObjIndividualAssessment $iass, array $record) | |||||||
Create a membership inside storage.
| |||||||
removeMembersRecord (ilObjIndividualAssessment $iass, array $record) | |||||||
Remove a membership associated with a IndividualAssessment object inside storage.
| |||||||
Data Fields | |
const | MEMBERS_TABLE = "iass_members" |
Protected Member Functions | |
loadMembersQuery ($obj_id) | |
Protected Attributes | |
$db | |
Store member infos to DB.
Definition at line 14 of file class.ilIndividualAssessmentMembersStorageDB.php.
ilIndividualAssessmentMembersStorageDB::__construct | ( | $ilDB | ) |
Definition at line 20 of file class.ilIndividualAssessmentMembersStorageDB.php.
References $ilDB.
ilIndividualAssessmentMembersStorageDB::deleteMembers | ( | ilObjIndividualAssessment | $obj | ) |
Delete entries associated with members-object.
ilObjIndividualAssessment | $obj |
Implements ilIndividualAssessmentMembersStorage.
Definition at line 108 of file class.ilIndividualAssessmentMembersStorageDB.php.
References ilObject\getId().
ilIndividualAssessmentMembersStorageDB::insertMembersRecord | ( | ilObjIndividualAssessment | $iass, |
array | $record | ||
) |
Create a membership inside storage.
ilObjIndividualAssessment | $iass | |
string|int[] | $record |
Implements ilIndividualAssessmentMembersStorage.
Definition at line 140 of file class.ilIndividualAssessmentMembersStorageDB.php.
References array, ilIndividualAssessmentMembers\FIELD_CHANGE_TIME, ilIndividualAssessmentMembers\FIELD_CHANGER_ID, ilIndividualAssessmentMembers\FIELD_EVENTTIME, ilIndividualAssessmentMembers\FIELD_EXAMINER_ID, ilIndividualAssessmentMembers\FIELD_FILE_NAME, ilIndividualAssessmentMembers\FIELD_FINALIZED, ilIndividualAssessmentMembers\FIELD_INTERNAL_NOTE, ilIndividualAssessmentMembers\FIELD_LEARNING_PROGRESS, ilIndividualAssessmentMembers\FIELD_NOTIFICATION_TS, ilIndividualAssessmentMembers\FIELD_NOTIFY, ilIndividualAssessmentMembers\FIELD_PLACE, ilIndividualAssessmentMembers\FIELD_RECORD, ilIndividualAssessmentMembers\FIELD_USER_VIEW_FILE, ilIndividualAssessmentMembers\FIELD_USR_ID, and ilObject\getId().
ilIndividualAssessmentMembersStorageDB::loadMember | ( | ilObjIndividualAssessment | $obj, |
ilObjUser | $usr | ||
) |
Get ilIndividualAssessmentMember-object containing meberinfo associated with $obj and $usr.
ilObjIndividualAssessment | $obj | |
ilObjUser | $usr |
Implements ilIndividualAssessmentMembersStorage.
Definition at line 43 of file class.ilIndividualAssessmentMembersStorageDB.php.
References ilObject\getId().
ilIndividualAssessmentMembersStorageDB::loadMembers | ( | ilObjIndividualAssessment | $obj | ) |
Get ilIndividualAssessmentMembers-object containing meberinfo associated with $obj.
ilObjIndividualAssessment | $obj |
Implements ilIndividualAssessmentMembersStorage.
Definition at line 28 of file class.ilIndividualAssessmentMembersStorageDB.php.
References $res, ilObject\getId(), and loadMembersQuery().
|
protected |
Definition at line 117 of file class.ilIndividualAssessmentMembersStorageDB.php.
References ilIndividualAssessmentMembers\FIELD_CHANGER_FIRSTNAME, ilIndividualAssessmentMembers\FIELD_CHANGER_LASTNAME, ilIndividualAssessmentMembers\FIELD_EXAMINER_FIRSTNAME, ilIndividualAssessmentMembers\FIELD_EXAMINER_LASTNAME, ilIndividualAssessmentMembers\FIELD_FILE_NAME, ilIndividualAssessmentMembers\FIELD_FIRSTNAME, ilIndividualAssessmentMembers\FIELD_LASTNAME, and ilIndividualAssessmentMembers\FIELD_LOGIN.
Referenced by loadMembers().
ilIndividualAssessmentMembersStorageDB::removeMembersRecord | ( | ilObjIndividualAssessment | $iass, |
array | $record | ||
) |
Remove a membership associated with a IndividualAssessment object inside storage.
ilObjIndividualAssessment | $iass | |
string|int[] | $record |
Implements ilIndividualAssessmentMembersStorage.
Definition at line 165 of file class.ilIndividualAssessmentMembersStorageDB.php.
References ilIndividualAssessmentMembers\FIELD_USR_ID, and ilObject\getId().
ilIndividualAssessmentMembersStorageDB::updateMember | ( | ilIndividualAssessmentMember | $member | ) |
Create a new storage entry for member-object.
ilIndividualAssessmentMember | $member |
Implements ilIndividualAssessmentMembersStorage.
Definition at line 81 of file class.ilIndividualAssessmentMembersStorageDB.php.
References array, ilIndividualAssessmentMember\assessmentId(), ilIndividualAssessmentMember\changerId(), ilIndividualAssessmentMember\eventTime(), ilIndividualAssessmentMember\examinerId(), ilIndividualAssessmentMembers\FIELD_CHANGE_TIME, ilIndividualAssessmentMembers\FIELD_CHANGER_ID, ilIndividualAssessmentMembers\FIELD_EVENTTIME, ilIndividualAssessmentMembers\FIELD_EXAMINER_ID, ilIndividualAssessmentMembers\FIELD_FILE_NAME, ilIndividualAssessmentMembers\FIELD_FINALIZED, ilIndividualAssessmentMembers\FIELD_INTERNAL_NOTE, ilIndividualAssessmentMembers\FIELD_LEARNING_PROGRESS, ilIndividualAssessmentMembers\FIELD_NOTIFICATION_TS, ilIndividualAssessmentMembers\FIELD_NOTIFY, ilIndividualAssessmentMembers\FIELD_PLACE, ilIndividualAssessmentMembers\FIELD_RECORD, ilIndividualAssessmentMembers\FIELD_USER_VIEW_FILE, ilIndividualAssessmentMember\fileName(), ilIndividualAssessmentMember\finalized(), ilIndividualAssessmentMember\id(), IL_CAL_DATETIME, IL_CAL_UNIX, ilIndividualAssessmentMember\internalNote(), ilIndividualAssessmentMember\LPStatus(), ilIndividualAssessmentMember\notificationTS(), ilIndividualAssessmentMember\notify(), ilIndividualAssessmentMember\place(), ilIndividualAssessmentMember\record(), time, and ilIndividualAssessmentMember\viewFile().
|
protected |
Definition at line 18 of file class.ilIndividualAssessmentMembersStorageDB.php.
const ilIndividualAssessmentMembersStorageDB::MEMBERS_TABLE = "iass_members" |
Definition at line 16 of file class.ilIndividualAssessmentMembersStorageDB.php.