diff options
author | friendica <info@friendica.com> | 2014-04-25 16:08:58 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-04-25 16:08:58 -0700 |
commit | 14cf9572cd69cc217571c0a596aa6c4fb34eff7f (patch) | |
tree | 1ff3766ad52824bdd6dedaa49bfaf62e8c57710e /doc/html/items_8php.html | |
parent | 6f54d2e43d8c83de17fdac79835de3d6dc4bec3b (diff) | |
download | volse-hubzilla-14cf9572cd69cc217571c0a596aa6c4fb34eff7f.tar.gz volse-hubzilla-14cf9572cd69cc217571c0a596aa6c4fb34eff7f.tar.bz2 volse-hubzilla-14cf9572cd69cc217571c0a596aa6c4fb34eff7f.zip |
doc/strings update
Diffstat (limited to 'doc/html/items_8php.html')
-rw-r--r-- | doc/html/items_8php.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/html/items_8php.html b/doc/html/items_8php.html index b56f79a3a..ebea2bc0c 100644 --- a/doc/html/items_8php.html +++ b/doc/html/items_8php.html @@ -275,6 +275,15 @@ Functions</h2></td></tr> </tr> </table> </div><div class="memdoc"> +<p>add_source_route($iid,$hash) Adds $hash to the item source route specified by $iid </p> +<dl class="params"><dt>Parameters</dt><dd> + <table class="params"> + <tr><td class="paramtype">integer</td><td class="paramname">$iid</td><td>item['id'] of target item </td></tr> + <tr><td class="paramtype">string</td><td class="paramname">$hash</td><td>xchan_hash of the channel that sent the item Modifies item pointed to by $iid</td></tr> + </table> + </dd> +</dl> +<p>$item['route'] contains a comma-separated list of xchans that sent the current message, somewhat analogous to the * Received: header line in email. We can use this to perform loop detection and to avoid sending a particular item to any "upstream" sender (they already have a copy because they sent it to us). </p> <p>Referenced by <a class="el" href="zot_8php.html#a4d9e6ca295e443b740d9960c304b3474">process_delivery()</a>.</p> @@ -1124,6 +1133,7 @@ Functions</h2></td></tr> </tr> </table> </div><div class="memdoc"> +<p>get_public_feed($channel,$params) generate an Atom feed </p> <p>Referenced by <a class="el" href="feed_8php.html#af86137700b56f33d1d5f25c8dec22c04">feed_init()</a>.</p> |