__construct()
close()
delete()
delete_flash()
destroy()
gc()
get()
get_config()
get_flash()
get_flash_id()
keep_flash()
key()
reset()
rotate()
set()
set_config()
set_flash()
set_flash_id()
start()
_change_state()
_cleanup_flash()
_expire_flash()
_get_cookie()
_new_session_id()
_serialize()
_set_cookie()
_unserialize()
_validate_config()
create()
init()
$config
$data
$flash
$keys
$state
$time
__construct($config)
close(bool $save) : \Session_Driver
bool
if true, save the session on close
\Session_Driver
delete(string $name) : \Session_Driver
string
name of the variable to delete
\Session_Driver
delete_flash(string $name) : \Session_Driver
string
name of the variable to delete
\Session_Driver
destroy() : \Session_Driver
\Session_Driver
gc() : bool
bool
get(string $name, mixed $default) : mixed
string
name of the variable to get
mixed
default value to return if the variable does not exist
mixed
get_config(string $name) : mixed
string
name of the config variable to get
mixed
get_flash(string $name, mixed $default, bool $expire) : mixed
string
name of the variable to get
mixed
default value to return if the variable does not exist
bool
true if the flash variable needs to expire immediately, false to use "flash_auto_expire"
mixed
get_flash_id() : string
string
name of the flash idkeep_flash(string $name) : \Session_Driver
string
name of the variable to keep
\Session_Driver
key(string $name) : mixed
string
name of the variable to get, default is 'session_id'
mixed
contents of the requested variable, or false if not foundreset() : \Session_Driver
\Session_Driver
rotate(bool $force) : \Session_Driver
bool
if true, force a session id rotation
\Session_Driver
set(string | array $name, mixed $value) : \Session_Driver
string
array
name of the variable to set or array of values, array(name => value)
mixed
value
\Session_Driver
set_config(string $name, mixed $value) : \Session_Driver
string
name of the config variable to set
mixed
\Session_Driver
set_flash(string $name, mixed $value) : \Session_Driver
string
name of the variable to set
mixed
value
\Session_Driver
set_flash_id(string $name) : \Session_Driver
string
name of the id to set
\Session_Driver
start() : \Session_Driver
\Session_Driver
_change_state(string $newstate) : \Session_Driver
string
state to change to
\Session_Driver
_cleanup_flash() : void
_expire_flash() : \Session_Driver
\Session_Driver
_new_session_id() : string
string
_serialize(array $data) : string
This function first converts any slashes found in the array to a temporary marker, so when it gets unserialized the slashes will be preserved
array
string
_unserialize(array $input) : string
This function unserializes a data string, then converts any temporary slash markers back to actual slashes
array
string
_validate_config(array $config) : array
This function validates all global (driver independent) configuration values
array
array
create() : \Session_Driver
\Session_Driver
init() : void
$config
$data
$flash
$keys
$state
$time