|
ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
Inheritance diagram for ilRestServer:
Collaboration diagram for ilRestServer:Public Member Functions | |
| __construct () | |
| Constructor. More... | |
| init () | |
| Init server / add handlers. More... | |
Public Member Functions inherited from Slim | |
| __construct ( $userSettings=array()) | |
| Constructor. More... | |
| getMode () | |
| Get application mode. More... | |
| setName ( $name) | |
| Set Slim application name. More... | |
| getName () | |
| Get Slim application name. More... | |
| getLog () | |
| Get application Log (lazy-loaded) More... | |
| configureMode ( $mode, $callable) | |
| Configure Slim for a given mode. More... | |
| config ( $name, $value=null) | |
| Configure Slim Settings. More... | |
| map () | |
| Add generic route without associated HTTP method. More... | |
| get () | |
| Add GET route. More... | |
| post () | |
| Add POST route. More... | |
| put () | |
| Add PUT route. More... | |
| delete () | |
| Add DELETE route. More... | |
| options () | |
| Add OPTIONS route. More... | |
| notFound ( $callable=null) | |
| Not Found Handler. More... | |
| error ( $argument=null) | |
| Error Handler. More... | |
| request () | |
| Get the Request object. More... | |
| response () | |
| Get the Response object. More... | |
| router () | |
| Get the Router object. More... | |
| view ( $viewClass=null) | |
| Get and/or set the View. More... | |
| render ( $template, $data=array(), $status=null) | |
| Render a template. More... | |
| lastModified ( $time) | |
| Set Last-Modified HTTP Response Header. More... | |
| etag ( $value, $type='strong') | |
| Set ETag HTTP Response Header. More... | |
| setCookie ( $name, $value, $time=null, $path=null, $domain=null, $secure=null, $httponly=null) | |
| Set a normal, unencrypted Cookie. More... | |
| getCookie ( $name) | |
| Get the value of a Cookie from the current HTTP Request. More... | |
| setEncryptedCookie ( $name, $value, $time=null, $path=null, $domain=null, $secure=null, $httponly=null) | |
| Set an encrypted Cookie. More... | |
| getEncryptedCookie ( $name) | |
| Get the value of an encrypted Cookie from the current HTTP request. More... | |
| deleteCookie ( $name, $path=null, $domain=null, $secure=null, $httponly=null) | |
| Delete a Cookie (for both normal or encrypted Cookies) More... | |
| root () | |
| Get the Slim application's absolute directory path. More... | |
| stop () | |
| Stop. More... | |
| halt ( $status, $message='') | |
| Halt. More... | |
| pass () | |
| Pass. More... | |
| contentType ( $type) | |
| Set the HTTP response Content-Type. More... | |
| status ( $code) | |
| Set the HTTP response status code. More... | |
| urlFor ( $name, $params=array()) | |
| Get the URL for a named Route. More... | |
| redirect ( $url, $status=302) | |
| Redirect. More... | |
| flash ( $key, $value) | |
| Set flash message for subsequent request. More... | |
| flashNow ( $key, $value) | |
| Set flash message for current request. More... | |
| flashKeep () | |
| Keep flash messages from previous request for subsequent request. More... | |
| hook ( $name, $callable, $priority=10) | |
| Assign hook. More... | |
| applyHook ( $name, $hookArg=null) | |
| Invoke hook. More... | |
| getHooks ( $name=null) | |
| Get hook listeners. More... | |
| clearHooks ( $name=null) | |
| Clear hook listeners. More... | |
| run () | |
| Run the Slim application. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Slim | |
| static | autoload ( $class) |
| Slim auto-loader. More... | |
| static | getInstance ( $name='default') |
| Get Slim application with name. More... | |
| static | handleErrors ( $errno, $errstr='', $errfile='', $errline='') |
| Handle errors. More... | |
Protected Member Functions inherited from Slim | |
| mapRoute ($args) | |
| Add GET|POST|PUT|DELETE route. More... | |
| defaultNotFound () | |
| Default Not Found handler. More... | |
| defaultError () | |
| Default Error handler. More... | |
Static Protected Member Functions inherited from Slim | |
| static | generateErrorMarkup ( $message, $file='', $line='', $trace='') |
| Generate markup for error message. More... | |
| static | generateTemplateMarkup ( $title, $body) |
| Generate default template markup. More... | |
Protected Attributes inherited from Slim | |
| $name | |
| $request | |
| $response | |
| $router | |
| $view | |
| $log | |
| $settings | |
| $mode | |
| $hooks | |
Static Protected Attributes inherited from Slim | |
| static | $apps = array() |
Slim rest server.
Definition at line 13 of file class.ilRestServer.php.
| ilRestServer::__construct | ( | ) |
Constructor.
Definition at line 19 of file class.ilRestServer.php.
| ilRestServer::init | ( | ) |
Init server / add handlers.
Definition at line 27 of file class.ilRestServer.php.
References Slim\post().
Here is the call graph for this function: