DbTableGateway Save Handler Options

package Default
inherited_from \Zend\Stdlib\AbstractOptions

 Methods

Constructor

__construct(array|\Traversable|null $options = null
Inherited

Parameters

$options

array\Traversablenull

Get a configuration property

__get(string $key) : mixed
Inherited
see
inherited_from \Zend\Stdlib\ParameterObjectInterface::__get()

Parameters

$key

string

Exceptions

\Zend\Stdlib\Exception\BadMethodCallException

Returns

mixed

Test if a configuration property is null

__isset(string $key) : boolean
Inherited
see
inherited_from \Zend\Stdlib\ParameterObjectInterface::__isset()

Parameters

$key

string

Returns

boolean

Set a configuration property

__set(string $key, mixed $value) : void
Inherited
see
inherited_from \Zend\Stdlib\ParameterObjectInterface::__set()

Parameters

$key

string

$value

mixed

Exceptions

\Zend\Stdlib\Exception\BadMethodCallException

Set a configuration property to NULL

__unset(string $key) : void
Inherited
see
inherited_from \Zend\Stdlib\ParameterObjectInterface::__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

Parameters

$dataColumn

string

Exceptions

\Zend\Session\Exception\InvalidArgumentException

Returns

\Zend\Session\SaveHandler\DbTableGatewayOptions

Set one or more configuration properties

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

Parameters

$options

array\Traversable\Zend\Stdlib\AbstractOptions

Exceptions

\Zend\Stdlib\Exception\InvalidArgumentException

Returns

\Zend\Stdlib\AbstractOptionsProvides fluent interface

Set Id Column

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

Parameters

$idColumn

string

Exceptions

\Zend\Session\Exception\InvalidArgumentException

Returns

\Zend\Session\SaveHandler\DbTableGatewayOptions

Set Lifetime Column

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

Parameters

$lifetimeColumn

string

Exceptions

\Zend\Session\Exception\InvalidArgumentException

Returns

\Zend\Session\SaveHandler\DbTableGatewayOptions

Set Modified Column

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

Parameters

$modifiedColumn

string

Exceptions

\Zend\Session\Exception\InvalidArgumentException

Returns

\Zend\Session\SaveHandler\DbTableGatewayOptions

Set Name Column

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

Parameters

$nameColumn

string

Exceptions

\Zend\Session\Exception\InvalidArgumentException

Returns

\Zend\Session\SaveHandler\DbTableGatewayOptions

Cast to array

toArray() : array
Inherited

Returns

array

 Properties

 

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

$__strictMode__ : boolean

Default

true
 

Data Column

$dataColumn : string

Default

'data'
 

ID Column

$idColumn : string

Default

'id'
 

Lifetime Column

$lifetimeColumn : string

Default

'lifetime'
 

Modified Column

$modifiedColumn : string

Default

'modified'
 

Name Column

$nameColumn : string

Default

'name'