From 36bfe90882b9ca1268e6338281c8da28803ae3eb Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 16 Apr 2013 16:05:05 -0700 Subject: update doco --- doc/html/items_8php.html | 57 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 52 insertions(+), 5 deletions(-) (limited to 'doc/html/items_8php.html') diff --git a/doc/html/items_8php.html b/doc/html/items_8php.html index 75ff25ea5..50211043e 100644 --- a/doc/html/items_8php.html +++ b/doc/html/items_8php.html @@ -114,6 +114,8 @@ $(document).ready(function(){initNavTree('items_8php.html','');}); Functions  collect_recipients ($item, &$private)   + post_activity_item ($arr) +   get_public_feed ($channel, $params)    get_feed_for (&$a, $dfrn_id, $owner_nick, $last_update, $direction=0) @@ -124,8 +126,10 @@ Functions    construct_activity_target ($item)   -if(!function_exists('limit_body_size')) title_is_body ($title, $body) -  + limit_body_size ($body) +  + title_is_body ($title, $body) +   get_item_elements ($x)    import_author_xchan ($x) @@ -1175,7 +1179,7 @@ Functions
-

Referenced by consume_feed(), event_store(), item_post(), like_content(), local_delivery(), mood_init(), photo_upload(), photos_create_item(), photos_post(), poke_init(), process_delivery(), profile_activity(), subthread_content(), and tagger_content().

+

Referenced by consume_feed(), event_store(), item_post(), like_content(), local_delivery(), mood_init(), photo_upload(), photos_create_item(), photos_post(), poke_init(), post_activity_item(), process_delivery(), profile_activity(), subthread_content(), and tagger_content().

@@ -1205,6 +1209,24 @@ Functions

Referenced by update_imported_item().

+ + + +
+
+ + + + + + + + +
limit_body_size ( $body)
+
+ +

Referenced by get_atom_elements().

+
@@ -1393,6 +1415,31 @@ Functions

Referenced by consume_feed().

+ + + +
+
+ + + + + + + + +
post_activity_item ( $arr)
+
+

post_activity_item($arr)

+
post an activity
+
Parameters
+ + +
array$arrIn its simplest form one needs only to set $arr['body'] to post a note to the logged in channel's wall. Much more complex activities can be created. Permissions are checked. No filtering, tag expansion or other processing is performed.
+
+
+
Returns
array 'success' => true or false 'activity' => the resulting activity if successful
+
@@ -1559,12 +1606,12 @@ Functions - +
- + -- cgit v1.2.3
if (!function_exists('limit_body_size')) title_is_body title_is_body (   $title,