From 6abf075531c048fd8a2bc6148f77b4fd2755964c Mon Sep 17 00:00:00 2001 From: Ivan Borzenkov Date: Tue, 9 Mar 2010 19:41:38 +0300 Subject: [PATCH] add PHPDOC to adduser --- XMPPHP/XMPP.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/XMPPHP/XMPP.php b/XMPPHP/XMPP.php index 9588c13..37c8684 100644 --- a/XMPPHP/XMPP.php +++ b/XMPPHP/XMPP.php @@ -239,8 +239,9 @@ class XMPPHP_XMPP extends XMPPHP_XMLStream { /** * Add user to Roster * - * @param string $jid - * @param string $name + * @param string $jid user jid + * @param string $name user nickname + * @param string $group group to add */ public function RosterAddUser($jid, $name=null, $group=null) { $payload = "\n". @@ -251,11 +252,11 @@ class XMPPHP_XMPP extends XMPPHP_XMLStream { /** * Send ID action * - * @param string $to - * @param string $type - * @param string $xmlns - * @param string $payload - * @param string $from + * @param string $to to jid + * @param string $type type of ID + * @param string $xmlns xmlns name + * @param string $payload payload string + * @param string $from from jid */ private function sendIq($to = NULL, $type = 'get', $xmlns = NULL, $payload = NULL, $from = NULL) {