Differences Between: [Versions 39 and 311]
XMPPHP: The PHP XMPP Library Copyright (C) 2008 Nathanael C. Fritz This file is part of SleekXMPP. XMPPHP is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Author: | Nathanael C. Fritz |
Author: | Stephan Wentz |
Author: | Michael Garvin |
Author: | Alexander Birkner (https://github.com/BirknerAlex) |
Copyright: | 2008 Nathanael C. Fritz |
File Size: | 168 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Roster:: (8 methods):
__construct()
verifyRoster()
addContact()
getContact()
isContact()
setPresence()
getPresence()
getRoster()
__construct($roster_array = array() X-Ref |
Constructor |
verifyRoster($roster_array) X-Ref |
Check that a given roster array is of a valid structure (empty is still valid) param: array $roster_array |
addContact($jid, $subscription, $name='', $groups=array() X-Ref |
Add given contact to roster param: string $jid param: string $subscription param: string $name param: array $groups |
getContact($jid) X-Ref |
Retrieve contact via jid param: string $jid |
isContact($jid) X-Ref |
Discover if a contact exists in the roster via jid param: string $jid |
setPresence($presence, $priority, $show, $status) X-Ref |
Set presence param: string $presence param: integer $priority param: string $show param: string $status |
getPresence($jid) X-Ref |
No description |
getRoster() X-Ref |
Get roster |