PHP Class Phalcon\Session\Adapter\Database

Database adapter for Phalcon\Session
Inheritance: extends Phalcon\Session\Adapter, implements Phalcon\Session\AdapterInterface
Afficher le fichier Open project: phalcon/incubator

Protected Properties

Свойство Type Description
$connection Phalcon\Db\AdapterInterface

Méthodes publiques

Méthode 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 méthode

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

close() public méthode

public close ( ) : boolean
Résultat boolean

destroy() public méthode

public destroy ( $session_id = null ) : boolean
Résultat boolean

gc() public méthode

public gc ( integer $maxlifetime ) : boolean
$maxlifetime integer
Résultat boolean

open() public méthode

public open ( ) : boolean
Résultat boolean

read() public méthode

public read ( string $sessionId ) : string
$sessionId string
Résultat string

write() public méthode

public write ( string $sessionId, string $data ) : boolean
$sessionId string
$data string
Résultat boolean

Property Details

$connection protected_oe property

protected AdapterInterface,Phalcon\Db $connection
Résultat Phalcon\Db\AdapterInterface