From 0cdcc4bc500c082c7d87096cc6be9dfe7c5db2f5 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 23 Jan 2015 03:25:17 -0800 Subject: doc updates --- doc/html/include_2attach_8php.html | 80 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 76 insertions(+), 4 deletions(-) (limited to 'doc/html/include_2attach_8php.html') diff --git a/doc/html/include_2attach_8php.html b/doc/html/include_2attach_8php.html index 22833ea99..938987fa5 100644 --- a/doc/html/include_2attach_8php.html +++ b/doc/html/include_2attach_8php.html @@ -144,10 +144,10 @@ Functions  Delete a file/directory from a channel. More...
   get_cloudpath ($arr) - Returns path to file in cloud/. More...
+ Returns path to file in cloud/. This function cannot be used with mod/dav as it always returns a path valid under mod/cloud. More...
   get_parent_cloudpath ($channel_id, $channel_name, $attachHash) - Returns path to parent folder in cloud/. More...
+ Returns path to parent folder in cloud/. This function cannot be used with mod/dav as it always returns a path valid under mod/cloud. More...
   find_folder_hash_by_attach_hash ($channel_id, $attachHash)  Return the hash of an attachment's folder. More...
@@ -157,6 +157,8 @@ Functions    pipe_streams ($in, $out)   + file_activity ($channel_id, $hash, $cloudpath, $allow_cid, $allow_gid, $deny_cid, $deny_gid, $verb, $no_activity) + 

Detailed Description

File/attach API with the potential for revision control.

@@ -578,6 +580,76 @@ Functions

Referenced by fix_attached_file_permissions(), importelm_post(), send_message(), and wall_attach_post().

+
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
file_activity ( $channel_id,
 $hash,
 $cloudpath,
 $allow_cid,
 $allow_gid,
 $deny_cid,
 $deny_gid,
 $verb,
 $no_activity 
)
+
+ +

Referenced by attach_delete(), and filestorage_post().

+
@@ -670,7 +742,7 @@ Functions
-

Returns path to file in cloud/.

+

Returns path to file in cloud/. This function cannot be used with mod/dav as it always returns a path valid under mod/cloud.

Parameters
@@ -713,7 +785,7 @@ Functions
array$arr,[uid]int the channels uid $arr[folder] string $arr[filename]] string
-

Returns path to parent folder in cloud/.

+

Returns path to parent folder in cloud/. This function cannot be used with mod/dav as it always returns a path valid under mod/cloud.

Parameters
-- cgit v1.2.3
int$channel_idThe id of the channel