ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Go to the source code of this file.
Functions | |
exception_error_handler ($errno, $errstr, $errfile, $errline) | |
Mapping PHP errors to exceptions. More... | |
Variables | |
$pdo = new \PDO('sqlite:data/db.sqlite') | |
Make sure this setting is turned on and reflect the root url for your WebDAV server. More... | |
$authBackend = new \Sabre\DAV\Auth\Backend\PDO($pdo) | |
The backends. More... | |
$principalBackend = new \Sabre\DAVACL\PrincipalBackend\PDO($pdo) | |
$carddavBackend = new \Sabre\CardDAV\Backend\PDO($pdo) | |
$caldavBackend = new \Sabre\CalDAV\Backend\PDO($pdo) | |
$nodes | |
The directory tree. More... | |
$server = new \Sabre\DAV\Server($nodes) | |
exception_error_handler | ( | $errno, | |
$errstr, | |||
$errfile, | |||
$errline | |||
) |
Mapping PHP errors to exceptions.
While this is not strictly needed, it makes a lot of sense to do so. If an E_NOTICE or anything appears in your code, this allows SabreDAV to intercept the issue and send a proper response back to the client (HTTP/1.1 500).
Definition at line 45 of file groupwareserver.php.
$authBackend = new \Sabre\DAV\Auth\Backend\PDO($pdo) |
The backends.
Yes we do really need all of them.
This allows any developer to subclass just any of them and hook into their own backend systems.
Definition at line 59 of file groupwareserver.php.
$caldavBackend = new \Sabre\CalDAV\Backend\PDO($pdo) |
Definition at line 62 of file groupwareserver.php.
Referenced by Sabre\CalDAV\Subscriptions\SubscriptionTest\getSub(), Sabre\CalDAV\FreeBusyReportTest\setUp(), and Sabre\CalDAV\Subscriptions\SubscriptionTest\testBadConstruct().
$carddavBackend = new \Sabre\CardDAV\Backend\PDO($pdo) |
Definition at line 61 of file groupwareserver.php.
$nodes |
The directory tree.
Basically this is an array which contains the 'top-level' directories in the WebDAV server.
Definition at line 70 of file groupwareserver.php.
$pdo = new \PDO('sqlite:data/db.sqlite') |
Make sure this setting is turned on and reflect the root url for your WebDAV server.
This can be for example the root / or a complete path to your server script. Database
Feel free to switch this to MySQL, it will definitely be better for higher concurrency.
Definition at line 35 of file groupwareserver.php.
$principalBackend = new \Sabre\DAVACL\PrincipalBackend\PDO($pdo) |
Definition at line 60 of file groupwareserver.php.
$server = new \Sabre\DAV\Server($nodes) |
Definition at line 80 of file groupwareserver.php.