ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
s
t
w
+
Functions
_
a
b
c
f
g
h
i
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
class.ilStudyProgrammeMembershipSourceReaderOrgu.php
Go to the documentation of this file.
1
<?php
2
3
declare(strict_types = 1);
4
8
class
ilStudyProgrammeMembershipSourceReaderOrgu
implements
ilStudyProgrammeMembershipSourceReader
9
{
13
protected
$orgu_tree
;
14
18
protected
$orgu_assignment
;
19
23
protected
$src_id
;
24
25
public
function
__construct
(
26
ilObjOrgUnitTree
$orgu_tree
,
27
ilOrgUnitUserAssignment
$orgu_assignment
,
28
int
$src_id
29
) {
30
$this->orgu_tree =
$orgu_tree
;
31
$this->orgu_assignment =
$orgu_assignment
;
32
$this->src_id =
$src_id
;
33
}
34
38
public
function
getMemberIds
() : array
39
{
40
$assignees = $this->orgu_assignment::where(
41
[
'orgu_id'
=> $this->src_id]
42
)->getArray(
'id'
,
'user_id'
);
43
44
return
array_map(
45
'intval'
,
46
array_values($assignees)
47
);
48
}
49
}
ilStudyProgrammeMembershipSourceReaderOrgu\getMemberIds
getMemberIds()
int[]
Definition:
class.ilStudyProgrammeMembershipSourceReaderOrgu.php:38
ilStudyProgrammeMembershipSourceReaderOrgu\$src_id
$src_id
Definition:
class.ilStudyProgrammeMembershipSourceReaderOrgu.php:23
ilStudyProgrammeMembershipSourceReaderOrgu\$orgu_assignment
$orgu_assignment
Definition:
class.ilStudyProgrammeMembershipSourceReaderOrgu.php:18
ilStudyProgrammeMembershipSourceReader
Get members of a certain source.
Definition:
interface.ilStudyProgrammeMembershipSourceReader.php:11
ilStudyProgrammeMembershipSourceReaderOrgu\$orgu_tree
$orgu_tree
Definition:
class.ilStudyProgrammeMembershipSourceReaderOrgu.php:13
ilStudyProgrammeMembershipSourceReaderOrgu
Provides adapters to read member-ids from a specific source.
Definition:
class.ilStudyProgrammeMembershipSourceReaderOrgu.php:8
ilObjOrgUnitTree
ilStudyProgrammeMembershipSourceReaderOrgu\__construct
__construct(ilObjOrgUnitTree $orgu_tree, ilOrgUnitUserAssignment $orgu_assignment, int $src_id)
Definition:
class.ilStudyProgrammeMembershipSourceReaderOrgu.php:25
ilOrgUnitUserAssignment
Modules
StudyProgramme
classes
model
AutoMemberships
class.ilStudyProgrammeMembershipSourceReaderOrgu.php
Generated on Wed Apr 2 2025 20:01:00 for ILIAS by
1.8.13 (using
Doxyfile
)