XML_RPC
[ class tree: XML_RPC ] [ index: XML_RPC ] [ all elements ]

File: Server.php

Source Location: /XML_RPC-1.5.5/XML/RPC/Server.php

Classes:

XML_RPC_Server
A server for receiving and replying to XML RPC requests

Page Details:

Server commands for our PHP implementation of the XML-RPC protocol

This is a PEAR-ified version of Useful inc's XML-RPC for PHP. It has support for HTTP transport, proxies and authentication.

PHP versions 4 and 5

Includes:

require_once('XML/RPC.php') [line 29]
Pull in the XML_RPC class

string $GLOBALS['XML_RPC_Server_debuginfo'] [line 114]

Default value:   ''


[ Top ]



array $GLOBALS['XML_RPC_Server_dmap'] [line 93]

dispatch map for the automatically declared XML-RPC methods.
Default value:   array(
    'system.listMethods' => array(
        'function'  => 'XML_RPC_Server_listMethods',
        'signature' => $GLOBALS['XML_RPC_Server_listMethods_sig'],
        'docstring' => $GLOBALS['XML_RPC_Server_listMethods_doc']
    ),'system.methodHelp'=>array('function'=>'XML_RPC_Server_methodHelp','signature'=>$GLOBALS['XML_RPC_Server_methodHelp_sig'],'docstring'=>$GLOBALS['XML_RPC_Server_methodHelp_doc']),'system.methodSignature'=>array('function'=>'XML_RPC_Server_methodSignature','signature'=>$GLOBALS['XML_RPC_Server_methodSignature_sig'],'docstring'=>$GLOBALS['XML_RPC_Server_methodSignature_doc']))


[ Top ]



string $GLOBALS['XML_RPC_Server_listMethods_doc'] [line 48]

docstring for system.listMethods
Default value:   'This method lists all the'
        . ' methods that the XML-RPC server knows how to dispatch'


[ Top ]



array $GLOBALS['XML_RPC_Server_listMethods_sig'] [line 37]

signature for system.listMethods: return = array,

parameters = a string or nothing

Default value:   array(
    array($GLOBALS['XML_RPC_Array'],
          $GLOBALS['XML_RPC_String']
    ),array($GLOBALS['XML_RPC_Array']))


[ Top ]



string $GLOBALS['XML_RPC_Server_methodHelp_doc'] [line 86]

docstring for methodHelp
Default value:   'Returns help text if defined'
        . ' for the method passed, otherwise returns an empty string'


[ Top ]



array $GLOBALS['XML_RPC_Server_methodHelp_sig'] [line 76]

signature for system.methodHelp: return = string,

parameters = string

Default value:   array(
    array($GLOBALS['XML_RPC_String'],
          $GLOBALS['XML_RPC_String']
    ))


[ Top ]



string $GLOBALS['XML_RPC_Server_methodSignature_doc'] [line 66]

docstring for system.methodSignature
Default value:   'Returns an array of known'
        . ' signatures (an array of arrays) for the method name passed. If'
        . ' no signatures are known, returns a none-array (test for type !='
        . ' array to detect missing signature)'


[ Top ]



array $GLOBALS['XML_RPC_Server_methodSignature_sig'] [line 56]

signature for system.methodSignature: return = array,

parameters = string

Default value:   array(
    array($GLOBALS['XML_RPC_Array'],
          $GLOBALS['XML_RPC_String']
    ))


[ Top ]



XML_RPC_Server_debugmsg [line 221]

void XML_RPC_Server_debugmsg( $m)



Parameters

   $m  
[ Top ]



XML_RPC_Server_listMethods [line 122]

object a XML_RPC_Server_listMethods( $server, $m)

Lists all the methods that the XML-RPC server knows how to dispatch
  • Return: new XML_RPC_Response object


Parameters

   $server  
   $m  
[ Top ]



XML_RPC_Server_methodHelp [line 190]

object a XML_RPC_Server_methodHelp( $server, $m)

Returns help text if defined for the method passed, otherwise returns an empty string
  • Return: new XML_RPC_Response object


Parameters

   $server  
   $m  
[ Top ]



XML_RPC_Server_methodSignature [line 147]

object a XML_RPC_Server_methodSignature( $server, $m)

Returns an array of known signatures (an array of arrays) for the given method

If no signatures are known, returns a none-array (test for type != array to detect missing signature)

  • Return: new XML_RPC_Response object


Parameters

   $server  
   $m  
[ Top ]



Documentation generated on Sat, 27 Aug 2011 03:00:04 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.