[ Index ]

PHP Cross Reference of phpBB 3.0 Beta 3

title

Body

[close]

/includes/ -> functions_jabber.php (summary)

(no description)

Copyright: (c) 2006 phpBB Group
License: http://opensource.org/licenses/gpl-license.php GNU Public License
Version: $Id: functions_jabber.php,v 1.23 2006/11/03 17:49:08 acydburn Exp $
File Size: 1493 lines (35 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 classes

jabber:: (65 methods):
  jabber()
  connect()
  disconnect()
  send_auth()
  account_registration()
  change_password()
  send_packet()
  listen()
  strip_jid()
  send_message()
  send_presence()
  send_error()
  get_first_from_queue()
  get_from_queue_by_id()
  call_handler()
  cruise_control()
  send_iq()
  transport_registration_details()
  transport_registration()
  get_log()
  add_to_log()
  _sendauth_ok()
  _sendauth_digest()
  _sendauth_plaintext()
  _listen_incoming()
  _check_connected()
  _starttls()
  _get_packet_type()
  _split_incoming()
  _array_xmlspecialchars()
  _xmlspecialchars()
  get_info_from_message_from()
  get_info_from_message_type()
  get_info_from_message_id()
  get_info_from_message_thread()
  get_info_from_message_subject()
  get_info_from_message_body()
  get_info_from_message_xmlns()
  get_info_from_message_error()
  get_info_from_iq_from()
  get_info_from_iq_type()
  get_info_from_iq_id()
  get_info_from_iq_key()
  get_info_from_iq_error()
  handler_message_normal()
  handler_message_chat()
  handler_message_groupchat()
  handler_message_headline()
  handler_message_error()
  handler_iq_jabber_iq_autoupdate()
  handler_iq_jabber_iq_agent()
  handler_iq_jabber_iq_agents()
  handler_iq_jabber_iq_auth()
  handler_iq_jabber_iq_oob()
  handler_iq_jabber_iq_private()
  handler_iq_jabber_iq_register()
  handler_iq_jabber_iq_roster()
  handler_iq_jabber_iq_search()
  handler_iq_jabber_iq_time()
  handler_iq_error()
  handler_iq_jabber_iq_version()
  handler_not_implemented()
  xmlize()
  _xml_depth()
  traverse_xmlize()

cjp_standard_connector:: (4 methods):
  open_socket()
  close_socket()
  write_to_socket()
  read_from_socket()


Class: jabber  - X-Ref

Class.Jabber.PHP v0.4.2
(c) 2004 Nathan "Fritzy" Fritz
http://cjphp.netflint.net *** fritzy@netflint.net

This is a bugfix version, specifically for those who can't get
0.4 to work on Jabberd2 servers.

last modified: 24.03.2004 13:01:53

Modified by phpBB Development Team
version: v0.4.3a

jabber($server, $port, $username, $password, $resource)   X-Ref
Constructor


connect()   X-Ref
Connect


disconnect()   X-Ref
Disconnect


send_auth()   X-Ref
Send authentication request


account_registration($reg_email = NULL, $reg_name = NULL)   X-Ref
Register account


change_password($new_password)   X-Ref
Change password


send_packet($xml)   X-Ref
Send packet


listen()   X-Ref
Listen to socket


strip_jid($jid = NULL)   X-Ref
Strip jid


send_message($to, $type = 'normal', $id = NULL, $content = NULL, $payload = NULL)   X-Ref
Send a message


send_presence($type = NULL, $to = NULL, $status = NULL, $show = NULL, $priority = NULL)   X-Ref
Send presence


send_error($to, $id = NULL, $error_number, $error_message = NULL)   X-Ref
Send error


get_first_from_queue()   X-Ref
Get first from queue


get_from_queue_by_id($packet_type, $id)   X-Ref
Get from queue by id


call_handler($packet = NULL)   X-Ref
Call handler


cruise_control($seconds = -1)   X-Ref
Cruise Control


send_iq($to = NULL, $type = 'get', $id = NULL, $xmlns = NULL, $payload = NULL, $from = NULL)   X-Ref
Send iq


transport_registration_details($transport)   X-Ref
get the transport registration fields
method written by Steve Blinch, http://www.blitzaffe.com


transport_registration($transport, $details)   X-Ref
register with the transport
method written by Steve Blinch, http://www.blitzaffe.com


get_log()   X-Ref
Return log


add_to_log($string)   X-Ref
Add information to log


_sendauth_ok($zerok_token, $zerok_sequence)   X-Ref
Send auth


_sendauth_digest()   X-Ref
Send auth digest


_sendauth_plaintext()   X-Ref
Send auth plain


_listen_incoming()   X-Ref
Listen on socket


_check_connected()   X-Ref
Check if connected


_starttls()   X-Ref
Start TLS/SSL session if supported (PHP5.1)


_get_packet_type($packet = NULL)   X-Ref
Get packet type


_split_incoming($incoming)   X-Ref
Split incoming packet


_array_xmlspecialchars(&$array)   X-Ref
Recursively prepares the strings in an array to be used in XML data.


_xmlspecialchars(&$string)   X-Ref
Prepares a string for usage in XML data.


get_info_from_message_from($packet = NULL)   X-Ref
Get info from message (from)


get_info_from_message_type($packet = NULL)   X-Ref
Get info from message (type)


get_info_from_message_id($packet = NULL)   X-Ref
Get info from message (id)


get_info_from_message_thread($packet = NULL)   X-Ref
Get info from message (thread)


get_info_from_message_subject($packet = NULL)   X-Ref
Get info from message (subject)


get_info_from_message_body($packet = NULL)   X-Ref
Get info from message (body)


get_info_from_message_xmlns($packet = NULL)   X-Ref
Get info from message (xmlns)


get_info_from_message_error($packet = NULL)   X-Ref
Get info from message (error)


get_info_from_iq_from($packet = NULL)   X-Ref
Get info from iq (from)


get_info_from_iq_type($packet = NULL)   X-Ref
Get info from iq (type)


get_info_from_iq_id($packet = NULL)   X-Ref
Get info from iq (id)


get_info_from_iq_key($packet = NULL)   X-Ref
Get info from iq (key)


get_info_from_iq_error($packet = NULL)   X-Ref
Get info from iq (error)


handler_message_normal($packet)   X-Ref
Message type normal


handler_message_chat($packet)   X-Ref
Message type chat


handler_message_groupchat($packet)   X-Ref
Message type groupchat


handler_message_headline($packet)   X-Ref
Message type headline


handler_message_error($packet)   X-Ref
Message type error


handler_iq_jabber_iq_autoupdate($packet)   X-Ref
application version updates


handler_iq_jabber_iq_agent($packet)   X-Ref
interactive server component properties


handler_iq_jabber_iq_agents($packet)   X-Ref
method to query interactive server components


handler_iq_jabber_iq_auth($packet)   X-Ref
simple client authentication


handler_iq_jabber_iq_oob($packet)   X-Ref
out of band data


handler_iq_jabber_iq_private($packet)   X-Ref
method to store private data on the server


handler_iq_jabber_iq_register($packet)   X-Ref
method for interactive registration


handler_iq_jabber_iq_roster($packet)   X-Ref
client roster management


handler_iq_jabber_iq_search($packet)   X-Ref
method for searching a user database


handler_iq_jabber_iq_time($packet)   X-Ref
method for requesting the current time


handler_iq_error($packet)   X-Ref
No description

handler_iq_jabber_iq_version($packet)   X-Ref
method for requesting version


handler_not_implemented($packet)   X-Ref
Generic handler for unsupported requests


xmlize($data, $skip_white = 1, $encoding = 'UTF-8')   X-Ref
xmlize()

author: Hans Anderson

_xml_depth($vals, &$i)   X-Ref
_xml_depth()

author: Hans Anderson

traverse_xmlize($array, $arr_name = 'array', $level = 0)   X-Ref
TraverseXMLize()

author: acebone@f2s.com

Class: cjp_standard_connector  - X-Ref

Jabber Connector

open_socket($server, $port)   X-Ref
Open socket


close_socket()   X-Ref
Close socket


write_to_socket($data)   X-Ref
Write to socket


read_from_socket($chunksize)   X-Ref
Read from socket




Generated: Wed Nov 22 00:35:05 2006 Cross-referenced by PHPXref 0.6