Methods

__construct()

__construct($config) 

Parameters

$config

validate a driver config value

_validate_config(array $config) : array

Parameters

$config

array

array with configuration values

Exceptions

\FuelException

Returns

arrayvalidated and consolidated config

destroy the current session

destroy() : \Session_Db

Returns

\Session_Db

Garbage Collector

gc() : bool

Returns

bool

read the session

read(\Fuel\Core\boolean, $force) : \Session_Driver

Parameters

$force

\Fuel\Core\boolean,

set to true if we want to force a new session to be created

Returns

\Session_Driver

write the current session

write() : \Fuel\Core\Session_Db

fluent This method is part of a fluent interface and will return the same instance

Exceptions

\Database_Exception
\FuelException

Returns

 Properties

 

array of driver config defaults

$_defaults 

 

$record

$record