_init()
close()
delete()
delete_flash()
destroy()
forge()
get()
get_flash()
instance()
keep_flash()
key()
reset()
rotate()
set()
set_flash()
start()
__construct()
$_defaults
$_instance
$_instances
Session Class
| package | Fuel |
|---|---|
| category | Core |
| author | Harro "WanWizard" Verton |
| link | http://docs.fuelphp.com/classes/session.html |
_init()
close(bool $save) : \Session_Driver
boolif true, save the session on close
\Session_Driverdelete_flash(string $name) : \Session_Driver
stringname of the variable to delete
\Session_Driverdestroy() : \Session_Driver
\Session_Driverforge(array | string $custom) : mixed
Produces fully configured session driver instances
arraystringfull driver config or just driver type
\FuelException |
|
|---|---|
\Session_Exception |
mixedget(string $name, mixed $default) : mixed
stringname of the variable to get
mixeddefault value to return if the variable does not exist
mixedget_flash(string $name, mixed $default, bool $expire) : mixed
stringname of the variable to get
mixeddefault value to return if the variable does not exist
booltrue if the flash variable needs to expire immediately
mixedinstance($instance) : \Session_Driver
void
\Session_Driverobjectkeep_flash(string $name) : \Session_Driver
stringname of the variable to keep
\Session_Driverkey(string $name) : mixed
stringname of the variable to get, default is 'session_id'
mixedreset() : \Session_Driver
\Session_Driverrotate() : \Session_Driver
\Session_Driverset(string | array $name, mixed $value) : \Session_Driver
stringarrayname of the variable to set or array of values, array(name => value)
mixedvalue
\Session_Driverset_flash(string $name, mixed $value) : void
stringname of the variable to set
mixedvalue
start() : \Session_Driver
\Session_Driver__construct()
$_defaults
$_instance
$_instances