The Hubzilla
|
Functions | |
poco_load ($xchan= '', $url=null) | |
count_common_friends ($uid, $xchan) | |
common_friends ($uid, $xchan, $start=0, $limit=100000000, $shuffle=false) | |
suggestion_query ($uid, $myxchan, $start=0, $limit=80) | |
update_suggestions () | |
poco ($a, $extended=false) | |
common_friends | ( | $uid, | |
$xchan, | |||
$start = 0 , |
|||
$limit = 100000000 , |
|||
$shuffle = false |
|||
) |
Referenced by common_friends_visitor_widget(), and Zotlabs\Module\Common\get().
count_common_friends | ( | $uid, | |
$xchan | |||
) |
Referenced by common_friends_visitor_widget(), and Zotlabs\Module\Common\get().
poco | ( | $a, | |
$extended = false |
|||
) |
Referenced by Zotlabs\Module\Poco\init(), and Zotlabs\Module\Xpoco\init().
poco_load | ( | $xchan = '' , |
|
$url = null |
|||
) |
poco_load
xchan is your connection We will load their friend list, and store in xlink_xchan your connection hash and xlink_link the hash for each connection If xchan isn't provided we will load the list of people from url who have indicated they are willing to be friends with new folks and add them to xlink with no xlink_xchan.
Old behaviour: (documentation only): Given a contact-id (minimum), load the PortableContacts friend list for that contact, and add the entries to the gcontact (Global Contact) table, or update existing entries if anything (name or photo) has changed. We use normalised urls for comparison which ignore http vs https and www.domain vs domain
Once the global contact is stored add (if necessary) the contact linkage which associates the given uid, cid to the global contact entry. There can be many uid/cid combinations pointing to the same global contact id.
string | $xchan | |
string | $url |
Referenced by Zotlabs\Daemon\Onepoll\run(), and update_suggestions().
suggestion_query | ( | $uid, | |
$myxchan, | |||
$start = 0 , |
|||
$limit = 80 |
|||
) |
update_suggestions | ( | ) |
Referenced by Zotlabs\Daemon\Cli_suggest\run().