Libzotdir
- Full name:
\Zotlabs\Lib\Libzotdir
Methods
find_upstream_directory
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$dirmode |
int |
check_upstream_directory
Directories may come and go over time. We will need to check that our directory server is still valid occasionally, and reset to something that is if our directory has gone offline for any reason
- This method is static.
get_directory_setting
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$observer |
mixed | |
$setting |
mixed |
dir_sort_links
- This method is static.
sync_directories
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$dirmode |
int | ; |
update_directory_entry
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$ud |
array | Entry from update table |
local_dir_update
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$uid |
int | |
$force |
bool |
import_directory_profile
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$hash |
string | |
$profile |
array |
Return Value:
$updated if something changed
import_directory_keywords
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$hash |
string | An xtag_hash |
$keywords |
array |
update
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$hash |
string | the channel hash |
$addr |
string | the channel url |
$bump_date |
bool | (optional) default true |
$flag |
mixed |
delete_by_hash
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$hash |
string | the channel hash |
Automatically generated on 2025-03-19