aboutsummaryrefslogtreecommitdiffstats
path: root/doc/html/dir__fns_8php.html
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-02-20 00:15:03 -0800
committerfriendica <info@friendica.com>2015-02-20 00:15:03 -0800
commitccf1a131f1221057797e1760cf7aaf6e15a695ba (patch)
treed413c0986a9ab532a3709a86a1a7575c9f268d5c /doc/html/dir__fns_8php.html
parent7ae14a1bf9ffefb7905e4bb1599b4db2c6595b9b (diff)
downloadvolse-hubzilla-ccf1a131f1221057797e1760cf7aaf6e15a695ba.tar.gz
volse-hubzilla-ccf1a131f1221057797e1760cf7aaf6e15a695ba.tar.bz2
volse-hubzilla-ccf1a131f1221057797e1760cf7aaf6e15a695ba.zip
doc update
Diffstat (limited to 'doc/html/dir__fns_8php.html')
-rw-r--r--doc/html/dir__fns_8php.html19
1 files changed, 18 insertions, 1 deletions
diff --git a/doc/html/dir__fns_8php.html b/doc/html/dir__fns_8php.html
index 164b60d27..9b1f0b31f 100644
--- a/doc/html/dir__fns_8php.html
+++ b/doc/html/dir__fns_8php.html
@@ -175,6 +175,7 @@ Functions</h2></td></tr>
</tr>
</table>
</div><div class="memdoc">
+<p><a class="el" href="dir__fns_8php.html#ae56881d69bb6f8e828c9e35454386774">dir_sort_links()</a> Called by the directory_sort widget </p>
<p>Referenced by <a class="el" href="widgets_8php.html#a95c06bc9be133e89768746302d2ac395">widget_dirsort()</a>.</p>
@@ -222,7 +223,7 @@ Functions</h2></td></tr>
</tr>
</table>
</div><div class="memdoc">
-<p>local_dir_update($uid,$force) push local channel updates to a local directory server </p>
+<p>local_dir_update($uid,$force) push local channel updates to a local directory server This is called from <a class="el" href="include_2directory_8php.html">include/directory.php</a> if a profile is to be pushed to the directory and the local hub in this case is any kind of directory server. </p>
<p>Referenced by <a class="el" href="include_2directory_8php.html#aa75d3b0697ca1456aaabdb37a74aa0f0">directory_run()</a>.</p>
@@ -241,6 +242,13 @@ Functions</h2></td></tr>
</tr>
</table>
</div><div class="memdoc">
+<p>sync_directories($mode)</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramtype">int</td><td class="paramname">$mode,;</td><td>Checks the directory mode of this hub to see if it is some form of directory server. If it is, get the directory realm of this hub. Fetch a list of all other directory servers in this realm and request a directory sync packet. This will contain both directory updates and new ratings. Store these all in the DB. In the case of updates, we will query each of them asynchronously from a poller task. Ratings are stored directly if the rater's signature matches. </td></tr>
+ </table>
+ </dd>
+</dl>
<p>Referenced by <a class="el" href="poller_8php.html#a5f12df3a4738124b6c039971e87e76da">poller_run()</a>.</p>
@@ -259,6 +267,15 @@ Functions</h2></td></tr>
</tr>
</table>
</div><div class="memdoc">
+<p>$function update_directory_entry($ud)</p>
+<dl class="params"><dt>Parameters</dt><dd>
+ <table class="params">
+ <tr><td class="paramtype">array</td><td class="paramname">$ud,;</td><td>// Entry from update table Given an update record, probe the channel, grab a zot-info packet and refresh/sync the data</td></tr>
+ </table>
+ </dd>
+</dl>
+<p>Ignore updating records marked as deleted</p>
+<p>If successful, sets ud_last in the DB to the current datetime for this reddress/webbie </p>
<p>Referenced by <a class="el" href="onedirsync_8php.html#a411aedd47c57476099647961e6a86691">onedirsync_run()</a>.</p>