[ Index ] |
|
Code source de Joomla 1.0.13 |
[Code source] [Imprimer] [Statistiques]
dom_xmlrpc_client provides basic XML-RPC client functionality
Author: | John Heinstein <johnkarl@nbnet.nb.ca> |
Copyright: | (C) 2004 John Heinstein. All rights reserved |
License: | http://www.gnu.org/copyleft/lesser.html LGPL License |
Poids: | 272 lignes (8 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 7 fichiers includes/domit/dom_xmlrpc_domit_lite_parser.php includes/domit/dom_xmlrpc_methodcall.php includes/domit/dom_xmlrpc_constants.php includes/domit/dom_xmlrpc_array_parser.php includes/domit/dom_xmlrpc_domit_parser.php includes/domit/dom_xmlrpc_domxml_parser.php includes/domit/php_http_client_generic.php |
dom_xmlrpc_client:: (11 méthodes):
dom_xmlrpc_client()
setHeaders()
evaluateMessage()
send()
sendAndDisconnect()
formatResponse()
returnAsXML()
returnAsArray()
arraysToObjects()
setResponseType()
getResponseType()
XMLRPC_Client_Exception:: (1 méthode):
raiseException()
Classe: dom_xmlrpc_client - X-Ref
Provides basic XML-RPC client functionalitydom_xmlrpc_client($host = '', $path = '/', $port = 80, $proxy = '', $timeout = 0) X-Ref |
XML-RPC Client constructor param: string The client connection host name, with or without its protocol prefix param: string The client connection path, not including the host name param: int The port to establish the client connection on param: string A proxy connection host name, with or without its protocol prefix param: int The timeout value for the client connection |
setHeaders() X-Ref |
Sets the headers for the client connection |
evaluateMessage(&$message) X-Ref |
Determines whether message is multicall param: mixed The message return: mixed The evaluated message |
send(&$message) X-Ref |
Sends data through the client connection param: string The message to be sent return: string The http response |
sendAndDisconnect($message) X-Ref |
Sends data through the client connection and disconnects param: string The message to be sent return: string The http response |
formatResponse($response) X-Ref |
Returns the message response, formatted according to the specified response type param: string The unformatted response return: string The formatted response |
returnAsXML($response) X-Ref |
Returns the message response as an XML document of the specified type param: string The unformatted response return: string An XML document representing the method response |
returnAsArray($response) X-Ref |
Returns the message response as a PHP array param: string The unformatted response return: string A PHP array representation of the method response |
arraysToObjects(&$myArray) X-Ref |
Converts PHP arrays to stdclass objects param: array The PHP array return: object A stdclass object |
setResponseType($type) X-Ref |
Sets the method response type to the specified type param: array The requested method response type |
getResponseType() X-Ref |
Returns the current method response type return: string The current method response type |
Classe: XMLRPC_Client_Exception - X-Ref
An XML-RPC Client excpetion classraiseException($errorNum, $errorString) X-Ref |
Raises the specified exception param: int The error number param: int The error string |
Généré le : Wed Nov 21 14:43:32 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |