[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/jabber/XMPP/ -> Roster.php (summary)

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 fritzy@netflint.net>
Author: Stephan Wentz stephan@jabber.wentz.it>
Author: Michael Garvin gar@netflint.net>
Copyright: 2008 Nathanael C. Fritz
File Size: 163 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Roster:: (8 methods):
  __construct()
  verifyRoster()
  addContact()
  getContact()
  isContact()
  setPresence()
  getPresence()
  getRoster()


Class: Roster  - X-Ref

XMPPHP Roster Object

__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




Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1