ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Store member infos to DB. More...
Public Member Functions | |||||||
__construct ($ilDB) | |||||||
loadMembers (ilObjIndividualAssessment $obj) | |||||||
Get ilIndividualAssessmentMembers-object containing meberinfo associated with $obj.
| |||||||
loadMembersAsSingleObjects (ilObjIndividualAssessment $obj, string $filter=null, string $sort=null) | |||||||
Get ilIndividualAssessmentMember-object for each obj member 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 | |
loadMemberQuery () | |
loadMembersQuery ($obj_id) | |
getWhereFromFilter ($filter) | |
getOrderByFromSort (string $sort) | |
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 114 of file class.ilIndividualAssessmentMembersStorageDB.php.
References ilObject\getId().
|
protected |
Definition at line 227 of file class.ilIndividualAssessmentMembersStorageDB.php.
Referenced by loadMembersAsSingleObjects().
|
protected |
int|string |
Definition at line 209 of file class.ilIndividualAssessmentMembersStorageDB.php.
References ilIndividualAssessmentMembers\LP_ASSESSMENT_NOT_COMPLETED, ilIndividualAssessmentMembers\LP_COMPLETED, ilIndividualAssessmentMembers\LP_FAILED, and ilIndividualAssessmentMembers\LP_IN_PROGRESS.
Referenced by loadMembersAsSingleObjects().
ilIndividualAssessmentMembersStorageDB::insertMembersRecord | ( | ilObjIndividualAssessment | $iass, |
array | $record | ||
) |
Create a membership inside storage.
ilObjIndividualAssessment | $iass | |
string|int[] | $record |
Implements ilIndividualAssessmentMembersStorage.
Definition at line 172 of file class.ilIndividualAssessmentMembersStorageDB.php.
References $values, 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 67 of file class.ilIndividualAssessmentMembersStorageDB.php.
References ilObject\getId(), and loadMemberQuery().
|
protected |
Definition at line 120 of file class.ilIndividualAssessmentMembersStorageDB.php.
Referenced by loadMember(), and loadMembersAsSingleObjects().
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().
ilIndividualAssessmentMembersStorageDB::loadMembersAsSingleObjects | ( | ilObjIndividualAssessment | $obj, |
string | $filter = null , |
||
string | $sort = null |
||
) |
Get ilIndividualAssessmentMember-object for each obj member associated with $obj.
ilObjIndividualAssessment | $obj |
Implements ilIndividualAssessmentMembersStorage.
Definition at line 43 of file class.ilIndividualAssessmentMembersStorageDB.php.
References $res, ilObject\getId(), getOrderByFromSort(), getWhereFromFilter(), and loadMemberQuery().
|
protected |
Definition at line 149 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 197 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 87 of file class.ilIndividualAssessmentMembersStorageDB.php.
References $values, 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(), 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.