void add(
mixed
$value, [
$type = '']
)
|
|
Generates an XML-RPC param from the unspecified value
Parameters:
|
mixed |
$value: |
The value to be converted to XML-RPC notation |
|
|
$type: |
|
void addArray(
array
$myArray
)
|
|
Generates an XML-RPC param from the array and adds it to the method params
Parameters:
|
array |
$myArray: |
The array to be converted to XML-RPC notation |
void addArrayByRef(
array
&$myArray
)
|
|
Generates an XML-RPC param from the array reference and adds it to the method params
Parameters:
|
array |
&$myArray: |
The array reference to be converted to XML-RPC notation |
void addByRef(
mixed
&$value, [
$type = '']
)
|
|
Generates an XML-RPC param from the unspecified reference
Parameters:
|
mixed |
&$value: |
The reference to be converted to XML-RPC notation |
|
|
$type: |
|
Generates an XML-RPC param from list of values
void addObject(
object The
$myObject
)
|
|
Generates an XML-RPC param from the object and adds it to the method params
Parameters:
|
object The |
$myObject: |
object to be converted to XML-RPC notation |
void addObjectByRef(
object The
&$myObject
)
|
|
Generates an XML-RPC param from the object reference and adds it to the method params
Parameters:
|
object The |
&$myObject: |
object reference to be converted to XML-RPC notation |
void addScalar(
mixed
$value, [string
$type = '']
)
|
|
Generates an XML-RPC param from the scalar and adds it to the method params
Parameters:
|
mixed |
$value: |
The value to be converted to XML-RPC notation |
|
string |
$type: |
The type of the value (will be autodetected if omitted) |
void addStruct(
mixed
$myStruct
)
|
|
Generates an XML-RPC param from the struct and adds it to the method params
Parameters:
|
mixed |
$myStruct: |
The struct to be converted to XML-RPC notation |
void addStructByRef(
mixed
&$myStruct
)
|
|
Generates an XML-RPC param from the struct reference and adds it to the method params
Parameters:
|
mixed |
&$myStruct: |
The struct reference to be converted to XML-RPC notation |
void create(
mixed
&$value, [
$type = '']
)
|
|
Generates an XML-RPC param from the value and adds it to the method params
Parameters:
|
mixed |
&$value: |
The value to be converted to XML-RPC notation |
|
|
$type: |
|
string createArray(
array
&$myArray
)
|
|
Creates an XML-RPC representation of a PHP array
Parameters:
|
array |
&$myArray: |
The array to be converted to XML-RPC notation |
API Tags:
| Return: | An XML-RPC representation of the array |
object The &createBase64(
mixed
$binaryData
)
|
|
Creates a dom_xmlrpc_base64 object from the binary data
Parameters:
|
mixed |
$binaryData: |
The binary data |
API Tags:
| Return: | base64 encoded data |
object The &createBase64FromFile(
string
$fileName
)
|
|
Creates a dom_xmlrpc_base64 object from the file
Parameters:
|
string |
$fileName: |
The file path |
API Tags:
| Return: | base64 encoded data |
object The &createDateTimeISO(
string
$time
)
|
|
Creates a dom_xmlrpc_datetime_iso8601 object from the PHP time
Parameters:
API Tags:
| Return: | dom_xmlrpc_datetime_iso8601 object |
string createMember(
mixed
$name,
&$value,
$type
)
|
|
Creates an XML-RPC representation of a member
Parameters:
|
mixed |
$name: |
The member to be converted to XML-RPC notation |
|
|
&$value: |
|
|
|
$type: |
|
API Tags:
| Return: | An XML-RPC representation of the member |
string createObject(
object The
&$myObject
)
|
|
Creates an XML-RPC representation of a PHP object
Parameters:
|
object The |
&$myObject: |
object to be converted to XML-RPC notation |
API Tags:
| Return: | An XML-RPC representation of the object |
string createScalar(
mixed
$value, [string
$type = '']
)
|
|
Creates an XML-RPC representation of a scalar value (e.g. string, double, boolean)
Parameters:
|
mixed |
$value: |
The value to be converted to XML-RPC notation |
|
string |
$type: |
The type of the value (will be autodetected if omitted) |
API Tags:
| Return: | An XML-RPC representation of the value |
string createStruct(
mixed
&$myStruct
)
|
|
Creates an XML-RPC representation of a struct
Parameters:
|
mixed |
&$myStruct: |
The struct to be converted to XML-RPC notation |
API Tags:
| Return: | An XML-RPC representation of the struct |
void setObjectMarshalling(
string
$type
)
|
|
Invokes the ability to pass PHP objects in addition to basic native types such as int and string
Parameters:
|
string |
$type: |
The type of object marshalling to be invoked: either anonymous, named, or serialized |