Fully Qualified Name: | Laminas\XmlRpc\Value\Boolean |
Extends: | AbstractScalar |
Name | Description | Defined By |
---|---|---|
__construct() | Set the value of a boolean native type We hold the boolean type as an integer (0 or 1) | Boolean |
generateXml() | Generate XML code that represent a native XML/RPC value | AbstractValue |
getGenerator() | Get XML generator instance | AbstractValue |
getType() | Get the native XML-RPC type (the type is one of the Value::XMLRPC_TYPE_* constants) | AbstractValue |
getValue() | Return the value of this object, convert the XML-RPC native boolean value into a PHP boolean | Boolean |
getXmlRpcTypeByValue() | Get XML-RPC type for a PHP native variable | AbstractValue |
getXmlRpcValue() | AbstractValue | |
saveXml() | Return the XML code that represent a native MXL-RPC value | AbstractValue |
setEncoding() | Changes the encoding of the generator | AbstractValue |
setGenerator() | Sets XML generator instance | AbstractValue |
Set the value of a boolean native type We hold the boolean type as an integer (0 or 1)
Parameter Name | Type | Description |
---|---|---|
$value | bool |
Returns:
Generate XML code that represent a native XML/RPC value
Returns: void
Get XML generator instance
Returns: \Laminas\XmlRpc\Generator\GeneratorInterface
Get the native XML-RPC type (the type is one of the Value::XMLRPC_TYPE_* constants)
Returns: string
Return the value of this object, convert the XML-RPC native boolean value into a PHP boolean
Returns: bool
Get XML-RPC type for a PHP native variable
Parameter Name | Type | Description |
---|---|---|
$value | mixed |
Returns: string
Parameter Name | Type | Description |
---|---|---|
$value | ||
$type |
Returns: void
Return the XML code that represent a native MXL-RPC value
Returns: string
Changes the encoding of the generator
Parameter Name | Type | Description |
---|---|---|
$encoding | string |
Returns: void
Sets XML generator instance
Parameter Name | Type | Description |
---|---|---|
$generator | null|\Generator\GeneratorInterface |
Returns: void