From a22ec8cbfa5ec424cce751e194943328a16c1eec Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 4 Jul 2014 20:34:34 -0700 Subject: doc updates --- doc/html/reddav_8php.html | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) (limited to 'doc/html/reddav_8php.html') diff --git a/doc/html/reddav_8php.html b/doc/html/reddav_8php.html index c987f8a0f..e0cff75df 100644 --- a/doc/html/reddav_8php.html +++ b/doc/html/reddav_8php.html @@ -110,10 +110,14 @@ $(document).ready(function(){initNavTree('reddav_8php.html','');});
reddav.php File Reference
+ +

DAV related classes from SabreDAV for Red Matrix. +More...

+ @@ -125,13 +129,20 @@ Classes + + +

Classes

class  RedDirectory
 RedDirectory class. More...
 
class  RedFile
 

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...
 
-

Function Documentation

+

Detailed Description

+

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.

+

Function Documentation

@@ -146,6 +157,17 @@ Functions
+

Returns an array with viewable channels.

+

Get a list of RedDirectory objects with all the channels where the visitor has view_storage perms.

+
Todo:
Is there any reason why this is not inside RedDirectory class?
+
Parameters
+ + +
$auth
+
+
+
Returns
array containing RedDirectory objects
+

Referenced by RedCollectionData().

@@ -174,6 +196,18 @@ Functions
+

TODO what exactly does this function?

+

Array with all RedDirectory and RedFile DAV items for the given path.

+
Todo:
Is there any reason why this is not inside RedDirectory class? Seems only to be used there and we could simplify it a bit there.
+
Parameters
+ + + +
string$filepath to a directory
&$auth
+
+
+
Returns
array DAV[]
+

Referenced by RedDirectory\getChildren().

@@ -208,6 +242,16 @@ Functions
+

TODO What exactly is this function for?

+
Parameters
+ + + + +
string$file
&$auth
boolean$test(optional) enable test mode
+
+
+

Referenced by RedDirectory\childExists(), cloud_init(), and RedDirectory\getChild().

-- cgit v1.2.3