lib/xmlrpcs.inc-Dateireferenz

gehe zum Quellcode dieser Datei

Klassen

class  xmlrpc_server

Funktionen

 _xmlrpcs_getCapabilities ($server, $m=null)
 _xmlrpcs_listMethods ($server, $m=null)
 _xmlrpcs_methodSignature ($server, $m)
 _xmlrpcs_methodHelp ($server, $m)
 _xmlrpcs_multicall_error ($err)
 _xmlrpcs_multicall_do_call ($server, $call)
 _xmlrpcs_multicall_do_call_phpvals ($server, $call)
 _xmlrpcs_multicall ($server, $m)
 _xmlrpcs_errorHandler ($errcode, $errstring, $filename=null, $lineno=null, $context=null)
 xmlrpc_debugmsg ($m)

Variablen

 $GLOBALS ['xmlrpcs_capabilities']
 $_xmlrpcs_getCapabilities_sig = array(array($GLOBALS['xmlrpcStruct']))
 $_xmlrpcs_getCapabilities_doc = 'This method lists all the capabilites that the XML-RPC server has: the (more or less standard) extensions to the xmlrpc spec that it adheres to'
 $_xmlrpcs_getCapabilities_sdoc = array(array('list of capabilities, described as structs with a version number and url for the spec'))
 $_xmlrpcs_listMethods_sig = array(array($GLOBALS['xmlrpcArray']))
 $_xmlrpcs_listMethods_doc = 'This method lists all the methods that the XML-RPC server knows how to dispatch'
 $_xmlrpcs_listMethods_sdoc = array(array('list of method names'))
 $_xmlrpcs_methodSignature_sig = array(array($GLOBALS['xmlrpcArray'], $GLOBALS['xmlrpcString']))
 $_xmlrpcs_methodSignature_doc = '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)'
 $_xmlrpcs_methodSignature_sdoc = array(array('list of known signatures, each sig being an array of xmlrpc type names', 'name of method to be described'))
 $_xmlrpcs_methodHelp_sig = array(array($GLOBALS['xmlrpcString'], $GLOBALS['xmlrpcString']))
 $_xmlrpcs_methodHelp_doc = 'Returns help text if defined for the method passed, otherwise returns an empty string'
 $_xmlrpcs_methodHelp_sdoc = array(array('method description', 'name of the method to be described'))
 $_xmlrpcs_multicall_sig = array(array($GLOBALS['xmlrpcArray'], $GLOBALS['xmlrpcArray']))
 $_xmlrpcs_multicall_doc = 'Boxcar multiple RPC calls in one request. See http://www.xmlrpc.com/discuss/msgReader$1208 for details'
 $_xmlrpcs_multicall_sdoc = array(array('list of response structs, where each struct has the usual members', 'list of calls, with each call being represented as a struct, with members "methodname" and "params"'))
 $GLOBALS ['_xmlrpcs_dmap']
 $GLOBALS ['_xmlrpcs_occurred_errors'] = ''
 $GLOBALS ['_xmlrpcs_prev_ehandler'] = ''
 $GLOBALS ['_xmlrpc_debuginfo'] = ''


Dokumentation der Funktionen

_xmlrpcs_errorHandler ( errcode,
errstring,
filename = null,
lineno = null,
context = null 
)

Error handler used to track errors that occur during server-side execution of PHP code. This allows to report back to the client whether an internal error has occurred or not using an xmlrpc response object, instead of letting the client deal with the html junk that a PHP execution error on the server generally entails.

NB: in fact a user defined error handler can only handle WARNING, NOTICE and USER_* errors.

Definiert in Zeile 377 der Datei xmlrpcs.inc.

Benutzt $GLOBALS.

_xmlrpcs_getCapabilities ( server,
m = null 
)

Definiert in Zeile 64 der Datei xmlrpcs.inc.

Benutzt $GLOBALS.

_xmlrpcs_listMethods ( server,
m = null 
)

Definiert in Zeile 82 der Datei xmlrpcs.inc.

Benutzt $GLOBALS.

_xmlrpcs_methodHelp ( server,
m 
)

Definiert in Zeile 156 der Datei xmlrpcs.inc.

Benutzt $GLOBALS.

_xmlrpcs_methodSignature ( server,
m 
)

Definiert in Zeile 103 der Datei xmlrpcs.inc.

Benutzt $GLOBALS.

_xmlrpcs_multicall ( server,
m 
)

Definiert in Zeile 312 der Datei xmlrpcs.inc.

Benutzt _xmlrpcs_multicall_do_call() und _xmlrpcs_multicall_do_call_phpvals().

Hier ist ein Graph der zeigt, was diese Funktion aufruft:

_xmlrpcs_multicall_do_call ( server,
call 
)

Definiert in Zeile 215 der Datei xmlrpcs.inc.

Benutzt $GLOBALS und _xmlrpcs_multicall_error().

Wird benutzt von _xmlrpcs_multicall().

Hier ist ein Graph der zeigt, was diese Funktion aufruft:

_xmlrpcs_multicall_do_call_phpvals ( server,
call 
)

Definiert in Zeile 268 der Datei xmlrpcs.inc.

Benutzt _xmlrpcs_multicall_error() und php_2_xmlrpc_type().

Wird benutzt von _xmlrpcs_multicall().

Hier ist ein Graph der zeigt, was diese Funktion aufruft:

_xmlrpcs_multicall_error ( err  ) 

Definiert in Zeile 197 der Datei xmlrpcs.inc.

Benutzt $GLOBALS.

Wird benutzt von _xmlrpcs_multicall_do_call() und _xmlrpcs_multicall_do_call_phpvals().

xmlrpc_debugmsg ( m  ) 

Add a string to the debug info that can be later seralized by the server as part of the response message. Note that for best compatbility, the debug string should be encoded using the $GLOBALS['xmlrpc_internalencoding'] character set.

Parameter:
string $m public

Definiert in Zeile 428 der Datei xmlrpcs.inc.

Benutzt $GLOBALS.


Variablen-Dokumentation

$_xmlrpcs_getCapabilities_doc = 'This method lists all the capabilites that the XML-RPC server has: the (more or less standard) extensions to the xmlrpc spec that it adheres to'

Definiert in Zeile 62 der Datei xmlrpcs.inc.

$_xmlrpcs_getCapabilities_sdoc = array(array('list of capabilities, described as structs with a version number and url for the spec'))

Definiert in Zeile 63 der Datei xmlrpcs.inc.

$_xmlrpcs_getCapabilities_sig = array(array($GLOBALS['xmlrpcStruct']))

Definiert in Zeile 61 der Datei xmlrpcs.inc.

$_xmlrpcs_listMethods_doc = 'This method lists all the methods that the XML-RPC server knows how to dispatch'

Definiert in Zeile 80 der Datei xmlrpcs.inc.

$_xmlrpcs_listMethods_sdoc = array(array('list of method names'))

Definiert in Zeile 81 der Datei xmlrpcs.inc.

$_xmlrpcs_listMethods_sig = array(array($GLOBALS['xmlrpcArray']))

Definiert in Zeile 79 der Datei xmlrpcs.inc.

$_xmlrpcs_methodHelp_doc = 'Returns help text if defined for the method passed, otherwise returns an empty string'

Definiert in Zeile 154 der Datei xmlrpcs.inc.

$_xmlrpcs_methodHelp_sdoc = array(array('method description', 'name of the method to be described'))

Definiert in Zeile 155 der Datei xmlrpcs.inc.

$_xmlrpcs_methodHelp_sig = array(array($GLOBALS['xmlrpcString'], $GLOBALS['xmlrpcString']))

Definiert in Zeile 153 der Datei xmlrpcs.inc.

$_xmlrpcs_methodSignature_doc = '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)'

Definiert in Zeile 101 der Datei xmlrpcs.inc.

$_xmlrpcs_methodSignature_sdoc = array(array('list of known signatures, each sig being an array of xmlrpc type names', 'name of method to be described'))

Definiert in Zeile 102 der Datei xmlrpcs.inc.

$_xmlrpcs_methodSignature_sig = array(array($GLOBALS['xmlrpcArray'], $GLOBALS['xmlrpcString']))

Definiert in Zeile 100 der Datei xmlrpcs.inc.

$_xmlrpcs_multicall_doc = 'Boxcar multiple RPC calls in one request. See http://www.xmlrpc.com/discuss/msgReader$1208 for details'

Definiert in Zeile 195 der Datei xmlrpcs.inc.

$_xmlrpcs_multicall_sdoc = array(array('list of response structs, where each struct has the usual members', 'list of calls, with each call being represented as a struct, with members "methodname" and "params"'))

Definiert in Zeile 196 der Datei xmlrpcs.inc.

$_xmlrpcs_multicall_sig = array(array($GLOBALS['xmlrpcArray'], $GLOBALS['xmlrpcArray']))

Definiert in Zeile 194 der Datei xmlrpcs.inc.

$GLOBALS['_xmlrpc_debuginfo'] = ''

Definiert in Zeile 418 der Datei xmlrpcs.inc.

$GLOBALS['_xmlrpcs_prev_ehandler'] = ''

Definiert in Zeile 367 der Datei xmlrpcs.inc.

$GLOBALS['_xmlrpcs_occurred_errors'] = ''

Definiert in Zeile 366 der Datei xmlrpcs.inc.

$GLOBALS['_xmlrpcs_dmap']

Initialisierung:

array(
                'system.listMethods' => array(
                        'function' => '_xmlrpcs_listMethods',
                        'signature' => $_xmlrpcs_listMethods_sig,
                        'docstring' => $_xmlrpcs_listMethods_doc,
                        'signature_docs' => $_xmlrpcs_listMethods_sdoc),
                'system.methodHelp' => array(
                        'function' => '_xmlrpcs_methodHelp',
                        'signature' => $_xmlrpcs_methodHelp_sig,
                        'docstring' => $_xmlrpcs_methodHelp_doc,
                        'signature_docs' => $_xmlrpcs_methodHelp_sdoc),
                'system.methodSignature' => array(
                        'function' => '_xmlrpcs_methodSignature',
                        'signature' => $_xmlrpcs_methodSignature_sig,
                        'docstring' => $_xmlrpcs_methodSignature_doc,
                        'signature_docs' => $_xmlrpcs_methodSignature_sdoc),
                'system.multicall' => array(
                        'function' => '_xmlrpcs_multicall',
                        'signature' => $_xmlrpcs_multicall_sig,
                        'docstring' => $_xmlrpcs_multicall_doc,
                        'signature_docs' => $_xmlrpcs_multicall_sdoc),
                'system.getCapabilities' => array(
                        'function' => '_xmlrpcs_getCapabilities',
                        'signature' => $_xmlrpcs_getCapabilities_sig,
                        'docstring' => $_xmlrpcs_getCapabilities_doc,
                        'signature_docs' => $_xmlrpcs_getCapabilities_sdoc)
        )

Definiert in Zeile 338 der Datei xmlrpcs.inc.

$GLOBALS['xmlrpcs_capabilities']

Initialisierung:

 array(
                
                'xmlrpc' => new xmlrpcval(array(
                        'specUrl' => new xmlrpcval('http://www.xmlrpc.com/spec', 'string'),
                        'specVersion' => new xmlrpcval(1, 'int')
                ), 'struct'),
                
                
                'system.multicall' => new xmlrpcval(array(
                        'specUrl' => new xmlrpcval('http://www.xmlrpc.com/discuss/msgReader$1208', 'string'),
                        'specVersion' => new xmlrpcval(1, 'int')
                ), 'struct'),
                
                'introspection' => new xmlrpcval(array(
                        'specUrl' => new xmlrpcval('http://phpxmlrpc.sourceforge.net/doc-2/ch10.html', 'string'),
                        'specVersion' => new xmlrpcval(2, 'int')
                ), 'struct')
        )

Definiert in Zeile 41 der Datei xmlrpcs.inc.

Copyright © 2003 - 2009 MyOOS [Shopsystem]. All rights reserved.
MyOOS [Shopsystem] is Free Software released under the GNU/GPL License.

Webmaster: info@r23.de (Impressum)
doxygen