TSession
in package
implements
AdiantiRegistryInterface
Session Data Handler
Tags
Table of Contents
Interfaces
- AdiantiRegistryInterface
- Registry interface
Methods
- __construct() : mixed
- Class Constructor
- clear() : mixed
- Clear session
- delValue() : mixed
- Clear the value for a variable
- enabled() : mixed
- Returns if the service is active
- freeSession() : mixed
- Destroy the session data Backward compatibility
- getValue() : mixed
- Returns the value for a variable
- regenerate() : mixed
- Regenerate id
- setValue() : mixed
- Define the value for a variable
Methods
__construct()
Class Constructor
public
__construct([SessionHandlerInterface $handler = NULL ][, mixed $path = NULL ]) : mixed
Parameters
- $handler : SessionHandlerInterface = NULL
- $path : mixed = NULL
clear()
Clear session
public
static clear() : mixed
delValue()
Clear the value for a variable
public
static delValue( $var) : mixed
Parameters
enabled()
Returns if the service is active
public
static enabled() : mixed
freeSession()
Destroy the session data Backward compatibility
public
static freeSession() : mixed
getValue()
Returns the value for a variable
public
static getValue( $var) : mixed
Parameters
regenerate()
Regenerate id
public
static regenerate() : mixed
setValue()
Define the value for a variable
public
static setValue( $var, mixed $value) : mixed