ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilRestServer.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
include_once
'./Services/WebServices/Rest/lib/Slim/Slim.php'
;
5
include_once
'./Services/WebServices/Rest/classes/class.ilRestFileStorage.php'
;
6
13
class
ilRestServer
extends
Slim
14
{
15
19
public
function
__construct
()
20
{
21
parent::__construct();
22
}
23
27
public
function
init
()
28
{
29
$callback_obj =
new
ilRestFileStorage
();
30
31
$this->
get
(
'/fileStorage/:name'
,
array
($callback_obj,
'getFile'
));
32
$this->
post
(
'/fileStorage'
,
array
($callback_obj,
'createFile'
));
33
34
35
$callback_obj->deleteDeprecated();
36
}
37
38
}
39
?>
ilRestServer\init
init()
Init server / add handlers.
Definition:
class.ilRestServer.php:27
ilRestServer\__construct
__construct()
Constructor.
Definition:
class.ilRestServer.php:19
array
Create styles array
The data for the language used.
Definition:
40duplicateStyle.php:19
ilRestServer
Slim rest server.
Definition:
class.ilRestServer.php:13
Slim\post
post()
Add POST route.
Definition:
Slim.php:414
ilRestFileStorage
File storage handling.
Definition:
class.ilRestFileStorage.php:12
Slim
Slim - a micro PHP 5 framework.
php
Services
WebServices
Rest
classes
class.ilRestServer.php
Generated on Fri Jan 17 2025 19:01:20 for ILIAS by
1.8.13 (using
Doxyfile
)