ILIAS
release_4-3 Revision
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
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
?>
Services
WebServices
Rest
classes
class.ilRestServer.php
Generated on Sat Apr 30 2016 19:01:20 for ILIAS by
1.8.1.2 (using
Doxyfile
)