From 381f457c3fae5dea1c76883837f18a70a55e6bb8 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 24 Aug 2013 16:52:38 -0700 Subject: fix xchans more completely after a URL change --- doc/html/items_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/items_8php.html') diff --git a/doc/html/items_8php.html b/doc/html/items_8php.html index a78bfc16a..45632a5d3 100644 --- a/doc/html/items_8php.html +++ b/doc/html/items_8php.html @@ -236,7 +236,7 @@ Functions
-

Referenced by get_item_elements(), item_store(), and item_store_update().

+

Referenced by get_item_elements(), get_mail_elements(), item_store(), and item_store_update().

-- cgit v1.2.3 From 63c60b224c70ee9d09b8eb73bd11c44ca4a259fd Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 6 Sep 2013 03:10:25 -0700 Subject: provide mimetype selector on edit (pages and blocks) --- doc/html/items_8php.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/html/items_8php.html') diff --git a/doc/html/items_8php.html b/doc/html/items_8php.html index 45632a5d3..09d2998ea 100644 --- a/doc/html/items_8php.html +++ b/doc/html/items_8php.html @@ -832,7 +832,7 @@ Functions -- cgit v1.2.3 From c98605df370d8a1b9dcd264cbad35367e57f095e Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 28 Sep 2013 04:30:57 -0700 Subject: doc updates --- doc/html/items_8php.html | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) (limited to 'doc/html/items_8php.html') diff --git a/doc/html/items_8php.html b/doc/html/items_8php.html index 09d2998ea..41b25e9fc 100644 --- a/doc/html/items_8php.html +++ b/doc/html/items_8php.html @@ -178,6 +178,8 @@ Functions    tgroup_check ($uid, $item)   + check_item_source ($uid, $item) +   mail_store ($arr)    dfrn_deliver ($owner, $contact, $atom, $dissolve=false) @@ -392,7 +394,43 @@ Functions
-

Referenced by Conversation\add_thread().

+

Referenced by Conversation\add_thread(), and item_post().

+ +
+ + +
+
+ + + + + + + + + + + + + + + + + + +
check_item_source ( $uid,
 $item 
)
+
+

check_item_source($uid,$item)

+
Parameters
+ + + +
$uid
$itemChecks to see if this item owner is referenced as a source for this channel and if the post matches the rules for inclusion in this channel. Returns true if we should create a second delivery chain and false if none of the rules apply, or if the item is private.
+
+
+ +

Referenced by tag_deliver().

-- cgit v1.2.3 From 24dd15c2051bad20cad266e36227577cd8e46632 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 4 Oct 2013 04:46:55 -0700 Subject: doc update --- doc/html/items_8php.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'doc/html/items_8php.html') diff --git a/doc/html/items_8php.html b/doc/html/items_8php.html index 41b25e9fc..f1d5aee87 100644 --- a/doc/html/items_8php.html +++ b/doc/html/items_8php.html @@ -393,6 +393,8 @@ Functions
+

can_comment_on_post($observer_xchan,$item);

+

This function examines the comment_policy attached to an item and decides if the current observer has sufficient privileges to comment. This will normally be called on a remote site where perm_is_allowed() will not be suitable because the post owner does not have a local channel_id. Generally we should look at the item - in particular the author['book_flags'] and see if ABOOK_FLAG_SELF is set. If it is, you should be able to use perm_is_allowed( ... 'post_comments'), and if it isn't you need to call can_comment_on_post()

Referenced by Conversation\add_thread(), and item_post().

@@ -1045,7 +1047,7 @@ Functions
-

Referenced by zot_import().

+

Referenced by zot_import().

@@ -1063,7 +1065,7 @@ Functions
-

Referenced by zot_import().

+

Referenced by zot_import().

@@ -1081,7 +1083,7 @@ Functions
-

Referenced by zot_import().

+

Referenced by zot_import().

@@ -1233,7 +1235,7 @@ Functions -- cgit v1.2.3