ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
server.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
5
chdir(
'../../..'
);
6
7
include_once
'Services/Context/classes/class.ilContext.php'
;
8
ilContext::init
(
ilContext::CONTEXT_REST
);
9
10
$_COOKIE
[
'client_id'
] =
$_GET
[
'client_id'
] = $_REQUEST[
'client_id'
];
11
12
include_once
'./include/inc.header.php'
;
13
14
15
include_once
'./Services/WebServices/Rest/classes/class.ilRestServer.php'
;
16
$server
=
new
ilRestServer
(
17
[
18
'settings'
=> [
19
'displayErrorDetails'
=>
true
20
]
21
]
22
);
23
$server
->init();
24
$server
->run();
$_COOKIE
$_COOKIE['client_id']
Definition:
server.php:10
ilContext\CONTEXT_REST
const CONTEXT_REST
Definition:
class.ilContext.php:41
$_GET
$_GET['client_id']
Definition:
saml1-acs.php:21
ilRestServer
Slim rest server.
Definition:
class.ilRestServer.php:13
$server
$server
Definition:
server.php:16
ilContext\init
static init(string $a_type)
Init context by type.
Definition:
class.ilContext.php:52
Services
WebServices
Rest
server.php
Generated on Wed Apr 9 2025 22:02:50 for ILIAS by
1.8.13 (using
Doxyfile
)