Zend Framework
1.12
|
Public Member Functions | |
__construct ($opts=array()) | |
Constructor. | |
setOptions ($opts) | |
Set serializer options. | |
setOption ($name, $value) | |
Set a serializer option. | |
getOptions () | |
Get serializer options. | |
getOption ($name) | |
Get a serializer option. | |
serialize ($value, array $options=array()) | |
Generates a storable representation of a value. | |
unserialize ($serialized, array $options=array()) | |
Creates a PHP value from a stored representation. | |
__construct | ( | $opts = array() | ) |
Constructor.
array | Zend_Config | $opts | Serializer options |
Implemented in Zend_Serializer_Adapter_PythonPickle, Zend_Serializer_Adapter_Wddx, Zend_Serializer_Adapter_AdapterAbstract, Zend_Serializer_Adapter_Igbinary, and Zend_Serializer_Adapter_PhpSerialize.
getOption | ( | $name | ) |
Get a serializer option.
string | $name |
Zend_Serializer_Exception |
Implemented in Zend_Serializer_Adapter_AdapterAbstract.
getOptions | ( | ) |
serialize | ( | $value, | |
array | $options = array() |
||
) |
Generates a storable representation of a value.
mixed | $value | Data to serialize |
array | $options | Serialize options |
Zend_Serializer_Exception |
Implemented in Zend_Serializer_Adapter_PythonPickle, Zend_Serializer_Adapter_Wddx, Zend_Serializer_Adapter_Igbinary, Zend_Serializer_Adapter_PhpSerialize, Zend_Serializer_Adapter_Amf0, Zend_Serializer_Adapter_Amf3, Zend_Serializer_Adapter_Json, and Zend_Serializer_Adapter_PhpCode.
setOption | ( | $name, | |
$value | |||
) |
Set a serializer option.
string | $name | Option name |
mixed | $value | Option value |
Implemented in Zend_Serializer_Adapter_PythonPickle, and Zend_Serializer_Adapter_AdapterAbstract.
setOptions | ( | $opts | ) |
Set serializer options.
array | Zend_Config | $opts | Serializer options |
Implemented in Zend_Serializer_Adapter_AdapterAbstract.
unserialize | ( | $serialized, | |
array | $options = array() |
||
) |
Creates a PHP value from a stored representation.
string | $serialized | Serialized string |
array | $options | Unserialize options |
Zend_Serializer_Exception |
Implemented in Zend_Serializer_Adapter_PythonPickle, Zend_Serializer_Adapter_Wddx, Zend_Serializer_Adapter_Igbinary, Zend_Serializer_Adapter_PhpSerialize, Zend_Serializer_Adapter_Amf0, Zend_Serializer_Adapter_Amf3, Zend_Serializer_Adapter_Json, and Zend_Serializer_Adapter_PhpCode.