The Red Matrix
|
DAV related classes from SabreDAV for Red Matrix. More...
Classes | |
class | RedDirectory |
RedDirectory class. More... | |
class | RedFile |
class | RedBasicAuth |
Authentication backend class for RedDAV. More... | |
Functions | |
RedChannelList (&$auth) | |
Returns an array with viewable channels. More... | |
RedCollectionData ($file, &$auth) | |
TODO what exactly does this function? More... | |
RedFileData ($file, &$auth, $test=false) | |
TODO What exactly is this function for? More... | |
DAV related classes from SabreDAV for Red Matrix.
This file contains the classes from SabreDAV that got extended to adapt it for Red Matrix.
You find the original SabreDAV classes under vendor/sabre/dav/. We need to use SabreDAV 1.8.x for PHP5.3 compatibility. SabreDAV >= 2.0 requires PHP >= 5.4.
RedChannelList | ( | & | $auth | ) |
Returns an array with viewable channels.
Get a list of RedDirectory objects with all the channels where the visitor has view_storage perms.
$auth |
Referenced by RedCollectionData().
RedCollectionData | ( | $file, | |
& | $auth | ||
) |
TODO what exactly does this function?
Array with all RedDirectory and RedFile DAV items for the given path.
string | $file | path to a directory |
&$auth |
Referenced by RedDirectory\getChildren().
RedFileData | ( | $file, | |
& | $auth, | ||
$test = false |
|||
) |
TODO What exactly is this function for?
string | $file | |
&$auth | ||
boolean | $test | (optional) enable test mode |
Referenced by RedDirectory\childExists(), cloud_init(), and RedDirectory\getChild().