From 16c2aa042fade698ece5dcb67cde10ff8155bd65 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 7 Mar 2014 14:30:24 -0800 Subject: doc update --- doc/html/zot_8php.html | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'doc/html/zot_8php.html') diff --git a/doc/html/zot_8php.html b/doc/html/zot_8php.html index 129745ae5..62bbdb6e5 100644 --- a/doc/html/zot_8php.html +++ b/doc/html/zot_8php.html @@ -128,8 +128,8 @@ Functions    zot_register_hub ($arr)   - import_xchan ($arr, $ud_flags=1) -  + import_xchan ($arr, $ud_flags=UPDATE_FLAGS_UPDATED) +   zot_process_response ($hub, $arr, $outq)    zot_fetch ($arr) @@ -152,8 +152,8 @@ Functions    process_profile_delivery ($sender, $arr, $deliveries)   - import_directory_profile ($hash, $profile, $addr, $ud_flags=1, $suppress_update=0) -  + import_directory_profile ($hash, $profile, $addr, $ud_flags=UPDATE_FLAGS_UPDATED, $suppress_update=0) +   import_directory_keywords ($hash, $keywords)    update_modtime ($hash, $guid, $addr, $flags=0) @@ -311,11 +311,11 @@ Functions
-

Referenced by import_directory_profile().

+

Referenced by import_directory_profile().

- +
@@ -341,7 +341,7 @@ Functions - + @@ -357,7 +357,7 @@ Functions
 $ud_flags = 1, $ud_flags = UPDATE_FLAGS_UPDATED,
@@ -385,11 +385,11 @@ Functions
-

Referenced by import_xchan().

+

Referenced by import_xchan().

- +
@@ -403,7 +403,7 @@ Functions - + @@ -412,11 +412,11 @@ Functions
 $ud_flags = 1 $ud_flags = UPDATE_FLAGS_UPDATED 
-

import_xchan($arr,$ud_flags = 1) Takes an associative array of a fetched discovery packet and updates all internal data structures which need to be updated as a result.

+

import_xchan($arr,$ud_flags = UPDATE_FLAGS_UPDATED) Takes an associative array of a fetched discovery packet and updates all internal data structures which need to be updated as a result.

Parameters
- +
array$arr=> json_decoded discovery packet
int$ud_flagsDetermines whether to create a directory update record if any changes occur, default 1 or true $ud_flags = (-1) indicates a forced refresh where we unconditionally create a directory update record this typically occurs once a month for each channel as part of a scheduled ping to notify the directory that the channel still exists
int$ud_flagsDetermines whether to create a directory update record if any changes occur, default is UPDATE_FLAGS_UPDATED (true) $ud_flags = UPDATE_FLAGS_FORCED indicates a forced refresh where we unconditionally create a directory update record this typically occurs once a month for each channel as part of a scheduled ping to notify the directory that the channel still exists
@@ -690,7 +690,7 @@ Functions
-- cgit v1.2.3