API Documentation

Serializer/Adapter/AdapterInterface.php

Interfaces
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Serializer
subpackage
Adapter
version
$Id: AdapterInterface.php 20575 2010-01-24 17:48:27Z mabe $
Interfaces
Zend_Serializer_Adapter_AdapterInterface

Description

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.

Zend_Serializer_Adapter_AdapterInterface

category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Serializer
subpackage
Adapter
Methods
__construct
setOptions
setOption
getOptions
getOption
serialize
unserialize

Description

Methods

__construct

__construct( array|Zend_Config $opts = array ) : void

Constructor

Arguments
$opts
arrayZend_Config
Serializer options
Details
visibility
public
final
false
static
false

getOption

getOption( string $name ) : mixed

Get a serializer option

Arguments
$name
string
Output
mixed
Details
visibility
public
final
false
static
false
throws

getOptions

getOptions( ) : array

Get serializer options

Output
array
Details
visibility
public
final
false
static
false

serialize

serialize( mixed $value, array $options = array ) : string

Generates a storable representation of a value.

Arguments
$value
mixed
Data to serialize
$options
array
Serialize options
Output
string
Details
visibility
public
final
false
static
false
throws

setOption

setOption( string $name, mixed $value ) : Zend_Serializer_Adapter_AdapterInterface

Set a serializer option

Arguments
$name
string
Option name
$value
mixed
Option value
Details
visibility
public
final
false
static
false

setOptions

setOptions( array|Zend_Config $opts ) : Zend_Serializer_Adapter_AdapterInterface

Set serializer options

Arguments
$opts
arrayZend_Config
Serializer options
Details
visibility
public
final
false
static
false

unserialize

unserialize( string $serialized, array $options = array ) : mixed

Creates a PHP value from a stored representation.

Arguments
$serialized
string
Serialized string
$options
array
Unserialize options
Output
mixed
Details
visibility
public
final
false
static
false
throws
Documentation was generated by DocBlox.