Formagic session interface
category | Formagic |
---|---|
package | Session |
author | Florian Sonnenburg |
copyright | Copyright (c) 2007-2009 Florian Sonnenburg |
version | $Id: Php.php 169 2012-05-06 20:16:16Z meweasle $, $Revision: 70 $ |
__construct(string $namespace)
string
Namespace string for this Formagic form
get(string $key) : mixed
string
Session key
\Formagic_Session_Exception |
if value not exists |
---|
mixed
Value 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).
string
Variable key
boolean
purge() : \Formagic_Session_Interface
\Formagic_Session_Interface
Fluent interfaceremove(string $key) : \Formagic_Session_Interface
Will silently do nothing if key does not exist.
string
Session key
\Formagic_Session_Interface
Fluent interfaceset(string $key, mixed $value) : \Formagic_Session_Interface
string
Session key
mixed
Value to be saved into session
\Formagic_Session_Interface
Fluent interface$_session : array