From ccf1a131f1221057797e1760cf7aaf6e15a695ba Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 20 Feb 2015 00:15:03 -0800 Subject: doc update --- doc/html/dir__fns_8php.html | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'doc/html/dir__fns_8php.html') 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
+

dir_sort_links() Called by the directory_sort widget

Referenced by widget_dirsort().

@@ -222,7 +223,7 @@ Functions
-

local_dir_update($uid,$force) push local channel updates to a local directory server

+

local_dir_update($uid,$force) push local channel updates to a local directory server This is called from include/directory.php if a profile is to be pushed to the directory and the local hub in this case is any kind of directory server.

Referenced by directory_run().

@@ -241,6 +242,13 @@ Functions
+

sync_directories($mode)

+
Parameters
+ + +
int$mode,;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.
+
+

Referenced by poller_run().

@@ -259,6 +267,15 @@ Functions
+

$function update_directory_entry($ud)

+
Parameters
+ + +
array$ud,;// Entry from update table Given an update record, probe the channel, grab a zot-info packet and refresh/sync the data
+
+
+

Ignore updating records marked as deleted

+

If successful, sets ud_last in the DB to the current datetime for this reddress/webbie

Referenced by onedirsync_run().

-- cgit v1.2.3