category |
Zend |
package |
Zend_Serializer |
subpackage |
Adapter |
copyright |
Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license |
New BSD License |
inherited_from |
\Zend_Serializer_Adapter_AdapterAbstract |
Methods
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 using var_export
serialize(mixed $value, array $opts = array()
) : string
Parameters
$value
mixed
$opts
array
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
Deserialize PHP string
unserialize(string $code, array $opts = array()
) : mixed
Warning: this uses eval(), and should likely be avoided.
Parameters
$code
string
$opts
array
Exceptions
\Zend_Serializer_Exception |
on eval error |
Returns
mixed
Properties
Serializer options
$_options : array