|
Moodle
2.2.1
http://www.collinsharper.com
|


Public Member Functions | |
| __construct ($host, $port, $user, $password, $resource, $server=null, $printlog=false, $loglevel=null) | |
| startXML ($parser, $name, $attr) | |
| authenticate () | |
| authFieldsHandler ($xml) | |
| oldAuthResultHandler ($xml) | |
Protected Attributes | |
| $session_id | |
This file is unnecessary unless you need to connect to older, non-XMPP-compliant servers like Dreamhost's. In this case, use instead of XMPPHP_XMPP, otherwise feel free to delete it. The old Jabber protocol wasn't standardized, so use at your own risk.
Definition at line 38 of file XMPP_Old.php.
| __construct | ( | $ | host, |
| $ | port, | ||
| $ | user, | ||
| $ | password, | ||
| $ | resource, | ||
| $ | server = null, |
||
| $ | printlog = false, |
||
| $ | loglevel = null |
||
| ) |
Constructor
| string | $host | |
| integer | $port | |
| string | $user | |
| string | $password | |
| string | $resource | |
| string | $server | |
| boolean | $printlog | |
| string | $loglevel |
Reimplemented from XMPPHP_XMPP.
Definition at line 45 of file XMPP_Old.php.
| authenticate | ( | ) |
Send Authenticate Info Request
Definition at line 71 of file XMPP_Old.php.


| authFieldsHandler | ( | $ | xml | ) |
Retrieve auth fields and send auth attempt
| XMLObj | $xml |
Definition at line 82 of file XMPP_Old.php.

| oldAuthResultHandler | ( | $ | xml | ) |
Determine authenticated or failure
| XMLObj | $xml |
Definition at line 101 of file XMPP_Old.php.

| startXML | ( | $ | parser, |
| $ | name, | ||
| $ | attr | ||
| ) |
Override XMLStream's startXML
| parser | $parser | |
| string | $name | |
| array | $attr |
Reimplemented from XMPPHP_XMLStream.
Definition at line 59 of file XMPP_Old.php.

$session_id [protected] |
Definition at line 43 of file XMPP_Old.php.