PHP Класс Habari\XMLRPCUtils

Показать файл Открыть проект

Открытые методы

Метод Описание
decode_args ( SimpleXMLElement $value ) : mixed Decode the value of a response parameter using the datatype specified in the XML element.
encode_arg ( SimpleXMLElement $params, mixed $arg ) Encode a variable value into the parameters of the XML tree

Описание методов

decode_args() публичный статический Метод

Decode the value of a response parameter using the datatype specified in the XML element.
public static decode_args ( SimpleXMLElement $value ) : mixed
$value SimpleXMLElement A "value" element from the XMLRPC response
Результат mixed The value of the element, decoded from the datatype specified in the xml element

encode_arg() публичный статический Метод

Encode a variable value into the parameters of the XML tree
public static encode_arg ( SimpleXMLElement $params, mixed $arg )
$params SimpleXMLElement The parameter to add the value elements to.
$arg mixed The value to encode