ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
TestObj Class Reference
+ Inheritance diagram for TestObj:
+ Collaboration diagram for TestObj:

Public Member Functions

 buildNewRecordOfUserWrapper (ilObjUser $user)
 
 initMemberRecords (array $arr)
 
 getMemberRecords ()
 
- Public Member Functions inherited from ilIndividualAssessmentMembers
 __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 a record. More...
 
 withAdditionalUser (ilObjUser $usr)
 Clone this and add a record created for user. More...
 
 withoutPresentUser (ilObjUser $usr)
 Clone this and remove record corresponding to user. More...
 
 withOnlyUsersByIds (array $keep_users_ids)
 Remove all users that do not exist in list of given ids. More...
 
 withAccessHandling (ilOrgUnitPositionAndRBACAccessHandler $access_handler)
 Get a collection like this, but only including users that are visible according to the supplied access handler. 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...
 

Protected Member Functions

 userExists (int $usr_id)
 
- Protected Member Functions inherited from ilIndividualAssessmentMembers
 userExists (int $usr_id)
 
 buildNewRecordOfUser (ilObjUser $usr)
 

Additional Inherited Members

- Data Fields inherited from ilIndividualAssessmentMembers
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_CHANGER_ID = "changer_id"
 
const FIELD_CHANGER_FIRSTNAME = "changer_firstname"
 
const FIELD_CHANGER_LASTNAME = "changer_lastname"
 
const FIELD_CHANGE_TIME = "change_time"
 
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 FIELD_PLACE = "place"
 
const FIELD_EVENTTIME = "event_time"
 
const FIELD_FILE_NAME = "file_name"
 
const FIELD_USER_VIEW_FILE = "user_view_file"
 
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
 
const LP_ASSESSMENT_NOT_COMPLETED = "not_completed"
 
- Protected Attributes inherited from ilIndividualAssessmentMembers
array $member_records = array()
 
int $position = 0
 
ilObjIndividualAssessment $iass
 

Detailed Description

Definition at line 24 of file ilIndividualAssessmentMembersTest.php.

Member Function Documentation

◆ buildNewRecordOfUserWrapper()

TestObj::buildNewRecordOfUserWrapper ( ilObjUser  $user)

Definition at line 26 of file ilIndividualAssessmentMembersTest.php.

References ilIndividualAssessmentMembers\buildNewRecordOfUser().

26  : array
27  {
28  return $this->buildNewRecordOfUser($user);
29  }
+ Here is the call graph for this function:

◆ getMemberRecords()

TestObj::getMemberRecords ( )

◆ initMemberRecords()

TestObj::initMemberRecords ( array  $arr)

Definition at line 31 of file ilIndividualAssessmentMembersTest.php.

31  : void
32  {
33  $this->member_records = $arr;
34  }

◆ userExists()

TestObj::userExists ( int  $usr_id)
protected

Definition at line 41 of file ilIndividualAssessmentMembersTest.php.

41  : bool
42  {
43  if ($usr_id === 22) {
44  return false;
45  }
46  return true;
47  }

The documentation for this class was generated from the following file: