PHP Class Phalcon\Session\Adapter\Database

Database adapter for Phalcon\Session
Inheritance: extends Phalcon\Session\Adapter, implements Phalcon\Session\AdapterInterface
Datei anzeigen Open project: phalcon/incubator

Protected Properties

Property Type Description
$connection Phalcon\Db\AdapterInterface

Public Methods

Method Description
__construct ( array $options = null )
close ( ) : boolean
destroy ( $session_id = null ) : boolean
gc ( integer $maxlifetime ) : boolean
open ( ) : boolean
read ( string $sessionId ) : string
write ( string $sessionId, string $data ) : boolean

Method Details

__construct() public method

public __construct ( array $options = null )
$options array

close() public method

public close ( ) : boolean
return boolean

destroy() public method

public destroy ( $session_id = null ) : boolean
return boolean

gc() public method

public gc ( integer $maxlifetime ) : boolean
$maxlifetime integer
return boolean

open() public method

public open ( ) : boolean
return boolean

read() public method

public read ( string $sessionId ) : string
$sessionId string
return string

write() public method

public write ( string $sessionId, string $data ) : boolean
$sessionId string
$data string
return boolean

Property Details

$connection protected_oe property

protected AdapterInterface,Phalcon\Db $connection
return Phalcon\Db\AdapterInterface