[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
XML-RPC web service implementation classes and methods.
Copyright: | 2009 Petr Skodak |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 136 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
moodle_zend_xmlrpc_server:: (1 method):
fault()
webservice_xmlrpc_server:: (2 methods):
__construct()
init_zend_server()
webservice_xmlrpc_test_client:: (1 method):
simpletest()
Class: moodle_zend_xmlrpc_server - X-Ref
The Zend XMLRPC server but with a fault that return debuginfofault($fault = null, $code = 404) X-Ref |
Raise an xmlrpc server fault Moodle note: the difference with the Zend server is that we throw a plain PHP Exception with the debuginfo integrated to the exception message when DEBUG >= NORMAL param: string|Exception $fault param: int $code return: Zend_XmlRpc_Server_Fault |
Class: webservice_xmlrpc_server - X-Ref
XML-RPC service server implementation.__construct($authmethod) X-Ref |
Contructor param: string $authmethod authentication method of the web service (WEBSERVICE_AUTHMETHOD_PERMANENT_TOKEN, ...) |
init_zend_server() X-Ref |
Set up zend service class |
Class: webservice_xmlrpc_test_client - X-Ref
XML-RPC test client classsimpletest($serverurl, $function, $params) X-Ref |
Execute test client WS request param: string $serverurl server url (including token parameter or username/password parameters) param: string $function function name param: array $params parameters of the called function return: mixed |
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |