Zend Framework  1.12
Public Member Functions | Protected Attributes | List of all members
Zend_Serializer_Adapter_Wddx Class Reference

Public Member Functions

 __construct ($opts=array())
 Constructor.
 
 serialize ($value, array $opts=array())
 Serialize PHP to WDDX.
 
 unserialize ($wddx, array $opts=array())
 Unserialize from WDDX to PHP.
 
- Public Member Functions inherited from Zend_Serializer_Adapter_AdapterAbstract
 __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.
 

Protected Attributes

 $_options
 
- Protected Attributes inherited from Zend_Serializer_Adapter_AdapterAbstract
 $_options = array()
 

Constructor & Destructor Documentation

__construct (   $opts = array())

Constructor.

Parameters
array$opts
Returns
void
Exceptions
Zend_Serializer_Exceptionif wddx extension not found

Implements Zend_Serializer_Adapter_AdapterInterface.

Member Function Documentation

serialize (   $value,
array  $opts = array() 
)

Serialize PHP to WDDX.

Parameters
mixed$value
array$opts
Returns
string
Exceptions
Zend_Serializer_Exceptionon wddx error

Implements Zend_Serializer_Adapter_AdapterInterface.

unserialize (   $wddx,
array  $opts = array() 
)

Unserialize from WDDX to PHP.

Parameters
string$wddx
array$opts
Returns
mixed
Exceptions
Zend_Serializer_Exceptionon wddx error

Implements Zend_Serializer_Adapter_AdapterInterface.

Member Data Documentation

$_options
protected
Initial value:
= array(
'comment' => null,
)