Class DbTableGateway

Summary

Fully Qualified Name: Zend\Session\SaveHandler\DbTableGateway
Implements: SaveHandlerInterface

Description

DB Table Gateway session save handler

Methods

Name Description Defined By
__construct() Constructor DbTableGateway
close() Close session DbTableGateway
destroy() Destroy session DbTableGateway
gc() Garbage Collection DbTableGateway
open() Open Session DbTableGateway
read() Read session data DbTableGateway
write() Write session data DbTableGateway

Method Details

__construct()

Constructor

Parameter Name Type Description
$tableGateway \TableGateway
$options \DbTableGatewayOptions

Returns:

close()

Close session

Returns: bool

destroy()

Destroy session

Parameter Name Type Description
$id string

Returns: bool

gc()

Garbage Collection

Parameter Name Type Description
$maxlifetime int

Returns: bool

open()

Open Session

Parameter Name Type Description
$savePath string
$name string

Returns: bool

read()

Read session data

Parameter Name Type Description
$id string
$destroyExpired bool Optional;

Returns: string

write()

Write session data

Parameter Name Type Description
$id string
$data string

Returns: bool

Top