Methods
Constructor
__construct(array $opts = array()
) : void
inherited_from |
\Zend_Serializer_Adapter_AdapterAbstract::__construct() |
Parameters
$opts
array
Exceptions
\Zend_Serializer_Exception |
if wddx extension not found |
Constructor
__construct(array|\Zend_Config $opts = array()
)
Inherited
inherited_from |
\Zend_Serializer_Adapter_AdapterInterface::__construct() |
Parameters
$opts
array
\Zend_Config
Serializer options
Get a serializer option
getOption(string $name) : mixed
Inherited
inherited_from |
\Zend_Serializer_Adapter_AdapterInterface::getOption() |
Parameters
$name
string
Exceptions
\Zend_Serializer_Exception |
|
Returns
mixed
Get serializer options
getOptions() : array
Inherited
inherited_from |
\Zend_Serializer_Adapter_AdapterInterface::getOptions() |
Returns
array
Serialize PHP to WDDX
serialize(mixed $value, array $opts = array()
) : string
Parameters
$value
mixed
$opts
array
Exceptions
\Zend_Serializer_Exception |
on wddx error |
Returns
string
Set a serializer option
setOption(string $name, mixed $value) : \Zend_Serializer_Adapter_AdapterAbstract
Inherited
inherited_from |
\Zend_Serializer_Adapter_AdapterInterface::setOption() |
Parameters
Returns
\Zend_Serializer_Adapter_AdapterAbstract
Set serializer options
setOptions(array|\Zend_Config $opts) : \Zend_Serializer_Adapter_AdapterAbstract
Inherited
inherited_from |
\Zend_Serializer_Adapter_AdapterInterface::setOptions() |
Parameters
$opts
array
\Zend_Config
Serializer options
Returns
\Zend_Serializer_Adapter_AdapterAbstract
Unserialize from WDDX to PHP
unserialize(string $wddx, array $opts = array()
) : mixed
Parameters
$wddx
string
$opts
array
Exceptions
\Zend_Serializer_Exception |
on wddx error |
Returns
mixed
Properties
Serializer options
$_options : array
Default
array('comment' => null)
inherited_from |
\Zend_Serializer_Adapter_AdapterAbstract::_options |
Serializer options
$_options : array