object to encode decode some XMl-RPC request and XMl-RPC response
| package |
jelix |
|---|---|
| subpackage |
utils |
| see |
__construct()
_decodeValue(\SimpleXMLElement $valuetag) : mixed
\SimpleXMLElementxmlrpc content
mixedthe php value
_encodeValue(mixed $value) : string
mixeda value
stringxmlrpc content
decodeRequest(string $xmlcontent) : array
stringthe content of the request, in xmlrpc format
arrayfirst element content the method name to execute second element content parameters
decodeResponse(string $xmlcontent) : mixed
stringthe content of the response, in xmlrpc format
mixeddata stored into the response
encodeFaultResponse(string $code, string $message, string $charset = '') : string
stringthe error code
string
stringthe charset to use
stringthe xmlrpc response
encodeRequest(string $methodname, array $params, string $charset = '') : string
string
arraymethod parameters
string
stringxmlrpc request
encodeResponse(mixed $params, string $charset = '') : string
mixedthe value to stored into the response
stringthe charset to use
stringthe xmlrpc response