Zend Framework
3.0
|
Static Public Member Functions | |
static | factory ($adapterName, $adapterOptions=null) |
Create a serializer adapter instance. | |
static | setAdapterPluginManager (AdapterPluginManager $adapters) |
Change the adapter plugin manager. | |
static | getAdapterPluginManager () |
Get the adapter plugin manager. | |
static | resetAdapterPluginManager () |
Resets the internal adapter plugin manager. | |
static | setDefaultAdapter ($adapter, $adapterOptions=null) |
Change the default adapter. | |
static | getDefaultAdapter () |
Get the default adapter. | |
static | serialize ($value, $adapter=null, $adapterOptions=null) |
Generates a storable representation of a value using the default adapter. | |
static | unserialize ($serialized, $adapter=null, $adapterOptions=null) |
Creates a PHP value from a stored representation using the default adapter. | |
Static Protected Attributes | |
static | $adapters |
static | $defaultAdapter = 'PhpSerialize' |
|
static |
Create a serializer adapter instance.
string | Adapter | $adapterName | Name of the adapter class |
array | \Traversable | null | $adapterOptions | Serializer options |
|
static |
Get the adapter plugin manager.
|
static |
Get the default adapter.
|
static |
Resets the internal adapter plugin manager.
|
static |
Generates a storable representation of a value using the default adapter.
Optionally different adapter could be provided as second argument
mixed | $value | |
string | Adapter | $adapter | |
array | \Traversable | null | $adapterOptions | Adapter constructor options only used to create adapter instance |
|
static |
|
static |
Change the default adapter.
string | Adapter | $adapter | |
array | \Traversable | null | $adapterOptions |
|
static |
Creates a PHP value from a stored representation using the default adapter.
Optionally different adapter could be provided as second argument
string | $serialized | |
string | Adapter | $adapter | |
array | \Traversable | null | $adapterOptions | Adapter constructor options only used to create adapter instance |
|
staticprotected |
|
staticprotected |