The Hubzilla
 All Classes Namespaces Files Functions Variables Pages
connections.php File Reference

Functions

 abook_store_lowlevel ($arr)
 
 rconnect_url ($channel_id, $xchan)
 
 abook_connections ($channel_id, $sql_conditions= '')
 
 abook_self ($channel_id)
 
 vcard_from_xchan ($xchan, $observer=null, $mode= '')
 
 abook_toggle_flag ($abook, $flag)
 
 mark_orphan_hubsxchans ()
 
 remove_all_xchan_resources ($xchan, $channel_id=0)
 
 contact_remove ($channel_id, $abook_id)
 
 random_profile ()
 
 update_vcard ($arr, $vcard=null)
 
 get_vcard_array ($vc, $id)
 
 vcard_translate_type ($type)
 
 vcard_query (&$r)
 

Function Documentation

abook_connections (   $channel_id,
  $sql_conditions = '' 
)
abook_self (   $channel_id)
abook_toggle_flag (   $abook,
  $flag 
)
contact_remove (   $channel_id,
  $abook_id 
)
get_vcard_array (   $vc,
  $id 
)
mark_orphan_hubsxchans ( )

mark any hubs "offline" that haven't been heard from in more than 30 days Allow them to redeem themselves if they come back later. Then go through all those that are newly marked and see if any other hubs are attached to the controlling xchan that are still alive. If not, they're dead (although they could come back some day).

Referenced by Zotlabs\Daemon\Cron_weekly\run().

random_profile ( )
rconnect_url (   $channel_id,
  $xchan 
)

Referenced by profile_sidebar().

remove_all_xchan_resources (   $xchan,
  $channel_id = 0 
)

Referenced by zot_reply_purge().

update_vcard (   $arr,
  $vcard = null 
)
vcard_from_xchan (   $xchan,
  $observer = null,
  $mode = '' 
)
vcard_query ( $r)
vcard_translate_type (   $type)

Referenced by get_vcard_array().