| [ Index ] |
|
Code source de Joomla 1.0.13 |
[Code source] [Imprimer] [Statistiques]
dom_xmlrpc_server provides basic XML-RPC server 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: | 635 lignes (19 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 7 fichiers includes/domit/dom_xmlrpc_methodresponse.php includes/domit/dom_xmlrpc_constants.php includes/domit/dom_xmlrpc_array_parser.php includes/domit/dom_xmlrpc_fault.php includes/domit/dom_xmlrpc_object_parser.php includes/domit/dom_xmlrpc_methodresponse_fault.php includes/domit/php_http_server_generic.php |
dom_xmlrpc_server:: (27 méthodes):
dom_xmlrpc_server()
setHeaders()
setHTTPEvents()
addSystemMethods()
addCustomMethods()
addMethods()
addMethod()
addMappedMethods()
tokenizeParams()
listMethods()
methodSignature()
methodHelp()
getCapabilities()
multicall()
onPost()
invokeMethod()
handleMethodNotFound()
setMethodNotFoundHandler()
buildResponse()
buildMethodResponse()
isError()
raiseFault()
buildFault()
setObjectAwareness()
setObjectDefinitionHandler()
parseRequest()
onWrongRequestMethod()
dom_xmlrpc_methods:: (3 méthodes):
addMethod()
getMethod()
getMethodNames()
dom_xmlrpc_methodmapper:: (5 méthodes):
dom_xmlrpc_methodmapper()
addMethod()
addMappedMethods()
getMethod()
getMethodNames()
dom_xmlrpc_method:: (1 méthode):
dom_xmlrpc_method()
dom_xmlrpc_methodmap:: (1 méthode):
getMethod()
Classe: dom_xmlrpc_server - X-Ref
Provides basic XML-RPC server functionality| dom_xmlrpc_server($customMethods = null, $postData = null) X-Ref |
| Constructor param: object A reference to a mapping of custom method handlers param: boolean True if onPost is to be immediately called |
| setHeaders() X-Ref |
| Sets the headers for the client connection |
| setHTTPEvents() X-Ref |
| Sets the default HTTP event handling |
| addSystemMethods() X-Ref |
| Adds the default XML-RPC system methods to the method map |
| addCustomMethods($customMethods) X-Ref |
| Adds user defined methods to the method map param: object A map of custom methods |
| addMethods($methodsArray) X-Ref |
| Adds user defined methods to the method map param: array An array of custom methods |
| addMethod($method) X-Ref |
| Adds a single user defined method to the method map param: array An array of custom methods |
| addMappedMethods(&$methodmap, $methodNameList) X-Ref |
| Adds a map of user defined method to the method map param: object A map of custom methods param: array A list of method names |
| tokenizeParams($truthVal) X-Ref |
| Specifies whether params should be tokenized param: boolean True if params should be tokenized |
| listMethods() X-Ref |
| Pas de description |
| methodSignature($name) X-Ref |
| XML-RPC defined method: returns the signature of the specified method param: string The method name return: array The method signature |
| methodHelp($name) X-Ref |
| XML-RPC defined method: returns help on the specified method param: string The method name return: string Help on the method |
| getCapabilities() X-Ref |
| XML-RPC defined method: delineates what XML-RPC services are provided by the server return: array The XML-RPC services provided by the server |
| multicall(&$myArray) X-Ref |
| Handles multiple method calls in a single request param: array An array of method calls return: array An array of method responses |
| onPost($postData) X-Ref |
| Pas de description |
| invokeMethod($xmlText) X-Ref |
| Invokes the method(s) in the XML request param: string The XML text of the request return: mixed The method response |
| handleMethodNotFound($methodName, &$params) X-Ref |
| Default handler for a missing method param: string The method name param: mixed The method params return: mixed A fault or user defined data |
| setMethodNotFoundHandler($method) X-Ref |
| Sets the handler for a missing method param: object A reference to the method not found handler |
| buildResponse(&$response) X-Ref |
| Builds a method response or fault param: object A reference to the method response data return: mixed The method response or fault |
| buildMethodResponse($response) X-Ref |
| Builds a method response param: object A reference to the method response data return: mixed The method response |
| isError() X-Ref |
| Determines whether an error has occurred return: boolean True if an error has occurred |
| raiseFault() X-Ref |
| Raises an XML-RPC fault return: object An XML-RPC fault |
| buildFault($response) X-Ref |
| Builds an XML-RPC fault param: object A reference to the method response data return: mixed The XML-RPC fault |
| setObjectAwareness($truthVal) X-Ref |
| Sets object awareness to the specified value param: boolean True if object awareness is to be enabled |
| setObjectDefinitionHandler($handler) X-Ref |
| Sets the handler for object handling param: object The handler for object handling |
| parseRequest($xmlText) X-Ref |
| Parses the method request param: string The text of the method request return: mixed The method response document |
| onWrongRequestMethod() X-Ref |
| Raises fault if POST is not used for method request |
Classe: dom_xmlrpc_methods - X-Ref
Represents an XML-RPC server method| addMethod(&$method) X-Ref |
| Adds a method to the method array param: object The method to be added |
| getMethod($name) X-Ref |
| Retrieves a method from the method array param: string The name of the method return: object A reference to the requested method |
| getMethodNames() X-Ref |
| Retrieves a list of methods in the method array return: array A list of methods in the method array |
Classe: dom_xmlrpc_methodmapper - X-Ref
Represents a map of methods available to the server| dom_xmlrpc_methodmapper() X-Ref |
| Constructor: Instantiates a new methodmapper |
| addMethod(&$method) X-Ref |
| Adds a method to the method map param: object The method to be added |
| addMappedMethods(&$methodmap, $methodNameList) X-Ref |
| Adds a method map to the method map param: object The method map to be added |
| getMethod($name) X-Ref |
| Retrieves a method from the method map param: string The name of the method return: object A reference to the requested method |
| getMethodNames() X-Ref |
| Retrieves a list of methods in the method array return: array A list of methods in the method array |
Classe: dom_xmlrpc_method - X-Ref
Represents a server method| dom_xmlrpc_method($paramArray) X-Ref |
| Constructor: Instantiates a custom method param: array A method name, reference, signature, and help |
Classe: dom_xmlrpc_methodmap - X-Ref
Abstract class for a method map| getMethod($methodName) X-Ref |
| Retrieves a method from the method array param: string The name of the method return: object A reference to the requested method |
| Généré le : Wed Nov 21 14:43:32 2007 | par Balluche grâce à PHPXref 0.7 |
|