Méthode | Description | |
---|---|---|
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 |
public static decode_args ( SimpleXMLElement $value ) : mixed | ||
$value | SimpleXMLElement | A "value" element from the XMLRPC response |
Résultat | mixed | The value of the element, decoded from the datatype specified in the xml element |
public static encode_arg ( SimpleXMLElement $params, mixed $arg ) | ||
$params | SimpleXMLElement | The parameter to add the value elements to. |
$arg | mixed | The value to encode |