Zend Framework
1.12
|
Public Member Functions | |
serialize ($value, array $opts=array()) | |
Serialize PHP using var_export. | |
unserialize ($code, array $opts=array()) | |
Deserialize PHP string. | |
![]() | |
__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. | |
Additional Inherited Members | |
![]() | |
$_options = array() | |
serialize | ( | $value, | |
array | $opts = array() |
||
) |
Serialize PHP using var_export.
mixed | $value | |
array | $opts |
Implements Zend_Serializer_Adapter_AdapterInterface.
unserialize | ( | $code, | |
array | $opts = array() |
||
) |
Deserialize PHP string.
Warning: this uses eval(), and should likely be avoided.
string | $code | |
array | $opts |
Zend_Serializer_Exception | on eval error |
Implements Zend_Serializer_Adapter_AdapterInterface.