DbTableGateway Save Handler Options

category Zend
package Zend_Session
subpackage SaveHandler

 Methods

__construct()

__construct(array | \Traversable | null $options) : \Zend\Stdlib\AbstractOptions
Inherited

inherited_from \Zend\Stdlib\AbstractOptions::__construct()

Parameters

$options

array\Traversablenull

Exceptions

\Zend\Stdlib\Exception\InvalidArgumentException

Returns

__get()

__get(string $key) : mixed
Inherited

see \Zend\Stdlib\ParameterObject::__get()
inherited_from \Zend\Stdlib\AbstractOptions::__get()

Parameters

$key

string

Exceptions

\Zend\Stdlib\Exception\BadMethodCallException

Returns

mixed

__isset()

__isset(string $key) : bool
Inherited

see \Zend\Stdlib\ParameterObject::__isset()
inherited_from \Zend\Stdlib\AbstractOptions::__isset()

Parameters

$key

string

Returns

bool

__set()

__set(string $key, mixed $value) : void
Inherited

see \Zend\Stdlib\ParameterObject::__set()
inherited_from \Zend\Stdlib\AbstractOptions::__set()

Parameters

$key

string

$value

mixed

Exceptions

\Zend\Stdlib\Exception\BadMethodCallException

__unset()

__unset(string $key) : void
Inherited

see \Zend\Stdlib\ParameterObject::__unset()
inherited_from \Zend\Stdlib\AbstractOptions::__unset()

Parameters

$key

string

Exceptions

\Zend\Stdlib\Exception\InvalidArgumentException

Get Data Column

getDataColumn() : string

Returns

string

Get Id Column

getIdColumn() : string

Returns

string

Get Lifetime Column

getLifetimeColumn() : string

Returns

string

Get Modified Column

getModifiedColumn() : string

Returns

string

Get Name Column

getNameColumn() : string

Returns

string

Set Data Column

setDataColumn(string $dataColumn) : \Zend\Session\SaveHandler\DbTableGatewayOptions

setFromArray()

setFromArray(array | \Traversable $options) : void
Inherited

inherited_from \Zend\Stdlib\AbstractOptions::setFromArray()

Parameters

$options

array\Traversable

Exceptions

\Zend\Stdlib\Exception\InvalidArgumentException

Set Id Column

setIdColumn(string $idColumn) : \Zend\Session\SaveHandler\DbTableGatewayOptions

Set Lifetime Column

setLifetimeColumn(string $lifetimeColumn) : \Zend\Session\SaveHandler\DbTableGatewayOptions

Set Modified Column

setModifiedColumn(string $modifiedColumn) : \Zend\Session\SaveHandler\DbTableGatewayOptions

Set Name Column

setNameColumn(string $nameColumn) : \Zend\Session\SaveHandler\DbTableGatewayOptions

Cast to array

toArray() : array
Inherited

inherited_from \Zend\Stdlib\AbstractOptions::toArray()

Returns

array

 Properties

 

We use the __ prefix to avoid collisions with properties in user-implementations.

$__strictMode__ : bool
Inherited

inherited_from \Zend\Stdlib\AbstractOptions::$$__strictMode__
 

Data Column

$dataColumn : string

 

ID Column

$idColumn : string

 

Lifetime Column

$lifetimeColumn : string

 

Modified Column

$modifiedColumn : string

 

Name Column

$nameColumn : string