|
| static | _xmlrpcs_errorHandler ($errCode, $errString, $filename=null, $lineNo=null, $context=null) |
| |
| static | _xmlrpcs_getCapabilities ($server, $req=null) |
| |
| static | _xmlrpcs_listMethods ($server, $req=null) |
| |
| static | _xmlrpcs_methodHelp ($server, $req) |
| |
| static | _xmlrpcs_methodSignature ($server, $req) |
| |
| static | _xmlrpcs_multicall ($server, $req) |
| |
| static | _xmlrpcs_multicall_do_call ($server, $call) |
| |
| static | _xmlrpcs_multicall_do_call_phpvals ($server, $call) |
| |
| static | _xmlrpcs_multicall_error ($err) |
| |
| static | error_occurred ($msg) |
| |
| static | xmlrpc_debugmsg ($msg) |
| |
◆ __construct()
| PhpXmlRpc\Server::__construct |
( |
|
$dispatchMap = null, |
|
|
|
$serviceNow = true |
|
) |
| |
◆ _xmlrpcs_errorHandler()
| static PhpXmlRpc\Server::_xmlrpcs_errorHandler |
( |
|
$errCode, |
|
|
|
$errString, |
|
|
|
$filename = null, |
|
|
|
$lineNo = null, |
|
|
|
$context = null |
|
) |
| |
|
static |
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.
Definition at line 1022 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Server.php.
References PhpXmlRpc\Server\error_occurred().
◆ _xmlrpcs_getCapabilities()
| static PhpXmlRpc\Server::_xmlrpcs_getCapabilities |
( |
|
$server, |
|
|
|
$req = null |
|
) |
| |
|
static |
◆ _xmlrpcs_listMethods()
| static PhpXmlRpc\Server::_xmlrpcs_listMethods |
( |
|
$server, |
|
|
|
$req = null |
|
) |
| |
|
static |
◆ _xmlrpcs_methodHelp()
| static PhpXmlRpc\Server::_xmlrpcs_methodHelp |
( |
|
$server, |
|
|
|
$req |
|
) |
| |
|
static |
◆ _xmlrpcs_methodSignature()
| static PhpXmlRpc\Server::_xmlrpcs_methodSignature |
( |
|
$server, |
|
|
|
$req |
|
) |
| |
|
static |
◆ _xmlrpcs_multicall()
| static PhpXmlRpc\Server::_xmlrpcs_multicall |
( |
|
$server, |
|
|
|
$req |
|
) |
| |
|
static |
◆ _xmlrpcs_multicall_do_call()
| static PhpXmlRpc\Server::_xmlrpcs_multicall_do_call |
( |
|
$server, |
|
|
|
$call |
|
) |
| |
|
static |
◆ _xmlrpcs_multicall_do_call_phpvals()
| static PhpXmlRpc\Server::_xmlrpcs_multicall_do_call_phpvals |
( |
|
$server, |
|
|
|
$call |
|
) |
| |
|
static |
◆ _xmlrpcs_multicall_error()
| static PhpXmlRpc\Server::_xmlrpcs_multicall_error |
( |
|
$err | ) |
|
|
static |
◆ add_to_map()
| PhpXmlRpc\Server::add_to_map |
( |
|
$methodName, |
|
|
|
$function, |
|
|
|
$sig = null, |
|
|
|
$doc = false, |
|
|
|
$sigDoc = false |
|
) |
| |
Add a method to the dispatch map.
- Parameters
-
| string | $methodName | the name with which the method will be made available |
| string | $function | the php function that will get invoked |
| array | $sig | the array of valid method signatures |
| string | $doc | method documentation |
| array | $sigDoc | the array of valid method signatures docs (one string per param, one for return type) |
Definition at line 282 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Server.php.
◆ debugmsg()
| PhpXmlRpc\Server::debugmsg |
( |
|
$string | ) |
|
|
protected |
◆ error_occurred()
| static PhpXmlRpc\Server::error_occurred |
( |
|
$msg | ) |
|
|
static |
◆ execute()
| PhpXmlRpc\Server::execute |
( |
|
$req, |
|
|
|
$params = null, |
|
|
|
$paramTypes = null |
|
) |
| |
|
protected |
Execute a method invoked by the client, checking parameters used.
- Parameters
-
| mixed | $req | either a Request obj or a method name |
| array | $params | array with method parameters as php types (if m is method name only) |
| array | $paramTypes | array with xmlrpc types of method parameters (if m is method name only) |
- Returns
- Response
- Exceptions
-
Definition at line 556 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Server.php.
◆ getCapabilities()
| PhpXmlRpc\Server::getCapabilities |
( |
| ) |
|
◆ getSystemDispatchMap()
| PhpXmlRpc\Server::getSystemDispatchMap |
( |
| ) |
|
◆ parseRequest()
| PhpXmlRpc\Server::parseRequest |
( |
|
$data, |
|
|
|
$reqEncoding = '' |
|
) |
| |
◆ parseRequestHeaders()
| PhpXmlRpc\Server::parseRequestHeaders |
( |
& |
$data, |
|
|
& |
$reqEncoding, |
|
|
& |
$respEncoding, |
|
|
& |
$respCompression |
|
) |
| |
|
protected |
◆ serializeDebug()
| PhpXmlRpc\Server::serializeDebug |
( |
|
$charsetEncoding = '' | ) |
|
◆ service()
| PhpXmlRpc\Server::service |
( |
|
$data = null, |
|
|
|
$returnPayload = false |
|
) |
| |
Execute the xmlrpc request, printing the response.
- Parameters
-
| string | $data | the request body. If null, the http POST request will be examined |
| bool | $returnPayload | When true, return the response but do not echo it or any http header |
- Returns
- Response|string the response object (usually not used by caller...) or its xml serialization
- Exceptions
-
Definition at line 187 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Server.php.
◆ setDebug()
| PhpXmlRpc\Server::setDebug |
( |
|
$level | ) |
|
Set debug level of server.
- Parameters
-
| integer | $level | debug lvl: determines info added to xmlrpc responses (as xml comments) 0 = no debug info, 1 = msgs set from user with debugmsg(), 2 = add complete xmlrpc request (headers and body), 3 = add also all processing warnings happened during method processing (NB: this involves setting a custom error handler, and might interfere with the standard processing of the php function exposed as method. In particular, triggering an USER_ERROR level error will not halt script execution anymore, but just end up logged in the xmlrpc response) Note that info added at level 2 and 3 will be base64 encoded |
Definition at line 125 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Server.php.
◆ verifySignature()
| PhpXmlRpc\Server::verifySignature |
( |
|
$in, |
|
|
|
$sigs |
|
) |
| |
|
protected |
◆ xml_header()
| PhpXmlRpc\Server::xml_header |
( |
|
$charsetEncoding = '' | ) |
|
|
protected |
◆ xmlrpc_debugmsg()
| static PhpXmlRpc\Server::xmlrpc_debugmsg |
( |
|
$msg | ) |
|
|
static |
◆ $_xmlrpc_debuginfo
| PhpXmlRpc\Server::$_xmlrpc_debuginfo = '' |
|
staticprotected |
◆ $_xmlrpcs_occurred_errors
| PhpXmlRpc\Server::$_xmlrpcs_occurred_errors = '' |
|
staticprotected |
◆ $_xmlrpcs_prev_ehandler
| PhpXmlRpc\Server::$_xmlrpcs_prev_ehandler = '' |
|
staticprotected |
◆ $accepted_charset_encodings
| PhpXmlRpc\Server::$accepted_charset_encodings = array() |
◆ $accepted_compression
| PhpXmlRpc\Server::$accepted_compression = array() |
◆ $allow_system_funcs
| PhpXmlRpc\Server::$allow_system_funcs = true |
◆ $compress_response
| PhpXmlRpc\Server::$compress_response = false |
◆ $debug
| PhpXmlRpc\Server::$debug = 1 |
◆ $debug_info
| PhpXmlRpc\Server::$debug_info = '' |
|
protected |
◆ $dmap
| PhpXmlRpc\Server::$dmap = array() |
|
protected |
◆ $exception_handling
| PhpXmlRpc\Server::$exception_handling = 0 |
Controls behaviour of server when the invoked user function throws an exception: 0 = catch it and return an 'internal error' xmlrpc response (default) 1 = catch it and return an xmlrpc response with the error corresponding to the exception 2 = allow the exception to float to the upper layers
Definition at line 38 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Server.php.
◆ $functions_parameters_type
| PhpXmlRpc\Server::$functions_parameters_type = 'xmlrpcvals' |
◆ $phpvals_encoding_options
| PhpXmlRpc\Server::$phpvals_encoding_options = array('auto_dates') |
◆ $response_charset_encoding
| PhpXmlRpc\Server::$response_charset_encoding = '' |
charset encoding to be used for response. NB: if we can, we will convert the generated response from internal_encoding to the intended one. Can be: a supported xml encoding (only UTF-8 and ISO-8859-1 at present, unless mbstring is enabled), null (leave unspecified in response, convert output stream to US_ASCII), 'default' (use xmlrpc library default as specified in xmlrpc.inc, convert output stream if needed), or 'auto' (use client-specified charset encoding or same as request if request headers do not specify it (unless request is US-ASCII: then use library default anyway). NB: pretty dangerous if you accept every charset and do not have mbstring enabled)
Definition at line 67 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Server.php.
◆ $user_data
| PhpXmlRpc\Server::$user_data = null |
The documentation for this class was generated from the following file: