ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ 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
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
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
PositionTitle.php
Go to the documentation of this file.
1
<?php
2
3
namespace
ILIAS\OrgUnit\Webservices\SOAP
;
4
5
use
ilOrgUnitPosition
;
6
12
class
PositionTitle
extends
Base
13
{
14
20
const
POSITION_ID
=
'position_id'
;
21
22
23
protected
function
run
(array $params)
24
{
25
$position_id = $params[self::POSITION_ID];
26
27
$record = ilOrgUnitPosition::find($position_id);
28
if
($record instanceof
ilOrgUnitPosition
) {
29
return
$record->getTitle();
30
}
else
{
31
$this->
error
(
"Position with id {$position_id} not found"
);
32
}
33
}
34
35
39
public
function
getName
()
40
{
41
return
"getPositionTitle"
;
42
}
43
44
48
protected
function
getAdditionalInputParams
()
49
{
50
return
array(self::POSITION_ID =>
Base::TYPE_INT
);
51
}
52
53
57
public
function
getOutputParams
()
58
{
59
return
array(
'title'
=>
Base::TYPE_STRING
);
60
}
61
62
66
public
function
getDocumentation
()
67
{
68
return
"Returns the title of a position for a given position id"
;
69
}
70
}
ILIAS\OrgUnit\Webservices\SOAP
Definition:
AddUserIdToPositionInOrgUnit.php:3
ILIAS\OrgUnit\Webservices\SOAP\PositionTitle\POSITION_ID
const POSITION_ID
Definition:
PositionTitle.php:20
ILIAS\OrgUnit\Webservices\SOAP\PositionTitle\getAdditionalInputParams
getAdditionalInputParams()
Definition:
PositionTitle.php:48
ILIAS\OrgUnit\Webservices\SOAP\PositionTitle\getDocumentation
getDocumentation()
Get the documentation of this method.string
Definition:
PositionTitle.php:66
ILIAS\OrgUnit\Webservices\SOAP\PositionTitle\run
run(array $params)
Definition:
PositionTitle.php:23
ILIAS\OrgUnit\Webservices\SOAP\Base
Class Base.
Definition:
Base.php:18
ILIAS\OrgUnit\Webservices\SOAP\PositionTitle\getName
getName()
Definition:
PositionTitle.php:39
ILIAS\OrgUnit\Webservices\SOAP\PositionTitle\getOutputParams
getOutputParams()
Get the output parameters in the same format as the input parameters.array
Definition:
PositionTitle.php:57
ILIAS\OrgUnit\Webservices\SOAP\Base\TYPE_STRING
const TYPE_STRING
Definition:
Base.php:25
ilOrgUnitPosition
ILIAS\OrgUnit\Webservices\SOAP\Base\error
error($message)
Definition:
Base.php:161
ILIAS\OrgUnit\Webservices\SOAP\PositionTitle
Class PositionTitle.
Definition:
PositionTitle.php:12
ILIAS\OrgUnit\Webservices\SOAP\Base\TYPE_INT
const TYPE_INT
Definition:
Base.php:26
Modules
OrgUnit
classes
Webservices
SOAP
PositionTitle.php
Generated on Sun Apr 6 2025 21:01:03 for ILIAS by
1.8.13 (using
Doxyfile
)