|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| __construct ($methodName, $params=array()) | |
| addParam ($param) | |
| createPayload ($charsetEncoding='') | |
| getNumParams () | |
| getParam ($i) | |
| kindOf () | |
| method ($methodName='') | |
| parseResponse ($data='', $headersProcessed=false, $returnType='xmlrpcvals') | |
| parseResponseFile ($fp) | |
| serialize ($charsetEncoding='') | |
| setDebug ($in) | |
| xml_footer () | |
| xml_header ($charsetEncoding='') | |
Data Fields | |
| $content_type = 'text/xml' | |
| $debug = 0 | |
| $methodname | |
| $params = array() | |
| $payload | |
Protected Attributes | |
| $httpResponse = array() | |
Definition at line 10 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::__construct | ( | $methodName, | |
$params = array() |
|||
| ) |
| string | $methodName | the name of the method to invoke |
| Value[] | $params | array of parameters to be passed to the method (Value objects) |
Definition at line 26 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::addParam | ( | $param | ) |
Add a parameter to the list of parameters to be used upon method invocation.
| Value | $param |
Definition at line 103 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::createPayload | ( | $charsetEncoding = '' | ) |
Definition at line 48 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::getNumParams | ( | ) |
Returns the number of parameters in the message.
Definition at line 132 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::getParam | ( | $i | ) |
Returns the nth parameter in the request. The index zero-based.
| integer | $i | the index of the parameter to fetch (zero based) |
Definition at line 122 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::kindOf | ( | ) |
Kept the old name even if Request class was renamed, for compatibility.
Definition at line 365 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::method | ( | $methodName = '' | ) |
Gets/sets the xmlrpc method to be invoked.
| string | $methodName | the method to be set (leave empty not to set it) |
Definition at line 73 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::parseResponse | ( | $data = '', |
|
$headersProcessed = false, |
|||
$returnType = 'xmlrpcvals' |
|||
| ) |
Parse the xmlrpc response contained in the string $data and return a Response object.
| string | $data | the xmlrpc response, eventually including http headers |
| bool | $headersProcessed | when true prevents parsing HTTP headers for interpretation of content-encoding and consequent decoding |
| string | $returnType | decides return type, i.e. content of response->value(). Either 'xmlrpcvals', 'xml' or 'phpvals' |
Definition at line 170 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::parseResponseFile | ( | $fp | ) |
Given an open file handle, read all data available and parse it as an xmlrpc response. NB: the file handle is not closed by this function. NNB: might have trouble in rare cases to work on network streams, as we check for a read of 0 bytes instead of feof($fp). But since checking for feof(null) returns false, we would risk an infinite loop in that case, because we cannot trust the caller to give us a valid pointer to an open file...
| resource | $fp | stream pointer |
Definition at line 152 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::serialize | ( | $charsetEncoding = '' | ) |
Returns xml representation of the message. XML prologue included.
| string | $charsetEncoding |
Definition at line 89 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::setDebug | ( | $in | ) |
Enables/disables the echoing to screen of the xmlrpc responses received.
| integer | $in | values 0, 1, 2 are supported |
Definition at line 375 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::xml_footer | ( | ) |
Definition at line 43 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::xml_header | ( | $charsetEncoding = '' | ) |
Definition at line 34 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::$content_type = 'text/xml' |
Definition at line 17 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::$debug = 0 |
Definition at line 16 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
|
protected |
Definition at line 20 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::$methodname |
Definition at line 14 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::$params = array() |
Definition at line 15 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.
| PhpXmlRpc\Request::$payload |
Definition at line 13 of file generic/plagiarism/vendor/phpxmlrpc/phpxmlrpc/src/Request.php.