ILIAS  trunk Revision v11.0_alpha-1715-g7fc467680fb
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilStudyProgrammeMembershipSourceReaderRole Class Reference

Provides adapters to read member-ids from a specific source. More...

+ Inheritance diagram for ilStudyProgrammeMembershipSourceReaderRole:
+ Collaboration diagram for ilStudyProgrammeMembershipSourceReaderRole:

Public Member Functions

 __construct (ilRbacReview $rbac_review, int $src_id)
 
 getMemberIds ()
 
Returns
int[]
More...
 

Protected Attributes

int $src_id
 
ilRbacReview $rbac_review
 

Detailed Description

Provides adapters to read member-ids from a specific source.

Definition at line 24 of file class.ilStudyProgrammeMembershipSourceReaderRole.php.

Constructor & Destructor Documentation

◆ __construct()

ilStudyProgrammeMembershipSourceReaderRole::__construct ( ilRbacReview  $rbac_review,
int  $src_id 
)

Member Function Documentation

◆ getMemberIds()

ilStudyProgrammeMembershipSourceReaderRole::getMemberIds ( )

Returns
int[]

Implements ilStudyProgrammeMembershipSourceReader.

Definition at line 38 of file class.ilStudyProgrammeMembershipSourceReaderRole.php.

38  : array
39  {
40  return array_map(
41  'intval',
42  $this->rbac_review->assignedUsers($this->src_id)
43  );
44  }

Field Documentation

◆ $rbac_review

ilRbacReview ilStudyProgrammeMembershipSourceReaderRole::$rbac_review
protected

Definition at line 27 of file class.ilStudyProgrammeMembershipSourceReaderRole.php.

Referenced by __construct().

◆ $src_id

int ilStudyProgrammeMembershipSourceReaderRole::$src_id
protected

Definition at line 26 of file class.ilStudyProgrammeMembershipSourceReaderRole.php.

Referenced by __construct().


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