Formagic session interface
| category | Formagic |
|---|---|
| package | Session |
| author | Florian Sonnenburg |
| copyright | Copyright (c) 2007-2009 Florian Sonnenburg |
| version | $Id: Interface.php 170 2012-05-06 20:21:49Z meweasle $, $Revision: 70 $ |
get(string $key) : mixed
stringSession key
\Formagic_Session_Exception |
if value not exists |
|---|
mixedValue from session storagehas(string $key) : boolean
This method will also return a positive result if the value is empty (null, empty string false, int 0).
stringVariable key
booleanpurge() : \Formagic_Session_Interface
\Formagic_Session_InterfaceFluent interfaceremove(string $key) : \Formagic_Session_Interface
Will silently do nothing if key does not exist.
stringSession key
\Formagic_Session_InterfaceFluent interfaceset(string $key, mixed $value) : \Formagic_Session_Interface
stringSession key
mixedValue to be saved into session
\Formagic_Session_InterfaceFluent interface