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
UserIdsOfPosition.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\OrgUnit\Webservices\SOAP
;
4
5
use
ilOrgUnitUserAssignmentQueries
;
6
12
class
UserIdsOfPosition
extends
Base
13
{
14
20
protected
function
run
(array $params)
21
{
22
$position_id = $params[self::POSITION_ID];
23
24
// $record = ilOrgUnitPosition::find($position_id);
25
26
$usr_ids = [];
27
foreach
(
ilOrgUnitUserAssignmentQueries::getInstance
()->getUserAssignmentsOfPosition($position_id) as $assignment) {
28
$usr_ids[] = $assignment->getUserId();
29
}
30
31
return
$usr_ids;
32
}
33
34
38
public
function
getName
()
39
{
40
return
"getUserIdsOfPosition"
;
41
}
42
43
47
protected
function
getAdditionalInputParams
()
48
{
49
return
array(self::POSITION_ID =>
Base::TYPE_INT
);
50
}
51
52
56
public
function
getOutputParams
()
57
{
58
return
array(self::USR_IDS =>
Base::TYPE_INT_ARRAY
);
59
}
60
61
65
public
function
getDocumentation
()
66
{
67
return
"Returns ids of users in a position"
;
68
}
69
}
ILIAS\OrgUnit\Webservices\SOAP
Definition:
AddUserIdToPositionInOrgUnit.php:3
ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPosition\run
run(array $params)
Definition:
UserIdsOfPosition.php:20
ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPosition\getOutputParams
getOutputParams()
Get the output parameters in the same format as the input parameters.array
Definition:
UserIdsOfPosition.php:56
ILIAS\OrgUnit\Webservices\SOAP\Base\TYPE_INT_ARRAY
const TYPE_INT_ARRAY
Definition:
Base.php:24
ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPosition\getDocumentation
getDocumentation()
Get the documentation of this method.string
Definition:
UserIdsOfPosition.php:65
ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPosition
Class UserIdsOfPosition.
Definition:
UserIdsOfPosition.php:12
ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPosition\getAdditionalInputParams
getAdditionalInputParams()
Definition:
UserIdsOfPosition.php:47
ILIAS\OrgUnit\Webservices\SOAP\Base
Class Base.
Definition:
Base.php:18
ilOrgUnitUserAssignmentQueries
ilOrgUnitUserAssignmentQueries\getInstance
static getInstance()
Definition:
class.ilOrgUnitUserAssignmentQueries.php:20
ILIAS\OrgUnit\Webservices\SOAP\UserIdsOfPosition\getName
getName()
Definition:
UserIdsOfPosition.php:38
ILIAS\OrgUnit\Webservices\SOAP\Base\TYPE_INT
const TYPE_INT
Definition:
Base.php:26
Modules
OrgUnit
classes
Webservices
SOAP
UserIdsOfPosition.php
Generated on Wed Apr 9 2025 20:01:06 for ILIAS by
1.8.13 (using
Doxyfile
)