doc/strings update

This commit is contained in:
friendica
2014-04-25 16:08:58 -07:00
parent 6f54d2e43d
commit 14cf9572cd
15 changed files with 61 additions and 21 deletions

View File

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