Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

__construct(
array|\Zend_Config $opts
=
array
)
:
void
Constructor
Name | Type | Description |
---|---|---|
$opts | array|\Zend_Config |
Exception | Description |
---|---|
\Zend_Serializer_Exception | If igbinary extension is not present |

getOption(
string $name
)
:
mixed
Get a serializer option
Inherited from: \Zend_Serializer_Adapter_AdapterAbstract::getOption()Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
mixed |
Exception | Description |
---|---|
\Zend_Serializer_Exception |

getOptions(
)
:
array
Get serializer options
Inherited from: \Zend_Serializer_Adapter_AdapterAbstract::getOptions()Type | Description |
---|---|
array |

serialize(
mixed $value, array $opts
=
array
)
:
string
Serialize PHP value to igbinary
Name | Type | Description |
---|---|---|
$value | mixed | |
$opts | array |
Type | Description |
---|---|
string |
Exception | Description |
---|---|
\Zend_Serializer_Exception | on igbinary error |

setOption(
string $name, mixed $value
)
:
\Zend_Serializer_Adapter_AdapterAbstract
Set a serializer option
Inherited from: \Zend_Serializer_Adapter_AdapterAbstract::setOption()Name | Type | Description |
---|---|---|
$name | string | Option name |
$value | mixed | Option value |
Type | Description |
---|---|
\Zend_Serializer_Adapter_AdapterAbstract |

setOptions(
array|\Zend_Config $opts
)
:
\Zend_Serializer_Adapter_AdapterAbstract
Set serializer options
Inherited from: \Zend_Serializer_Adapter_AdapterAbstract::setOptions()Name | Type | Description |
---|---|---|
$opts | array|\Zend_Config | Serializer options |
Type | Description |
---|---|
\Zend_Serializer_Adapter_AdapterAbstract |

unserialize(
string|\binary $serialized, array $opts
=
array
)
:
mixed
Deserialize igbinary string to PHP value
Name | Type | Description |
---|---|---|
$serialized | string|\binary | |
$opts | array |
Type | Description |
---|---|
mixed |
Exception | Description |
---|---|
\Zend_Serializer_Exception | on igbinary error |