SessionCollector
extends Collector
in package
Class SessionCollector.
Table of Contents
- $activities : array<string|int, mixed>
- $data : array<string|int, mixed>
- $name : string
- $options : array<string|int, mixed>
- $saveHandler : SaveHandler
- $session : Session
- __construct() : mixed
- addData() : static
- getActivities() : array<int, array<string, mixed>>
- getContents() : string
- getData() : array<string|int, mixed>
- getName() : string
- getSafeName() : string
- hasData() : bool
- setOptions() : static
- setSaveHandler() : static
- setSession() : static
- getSaveHandlerConfigs() : array<string, mixed>
- renderAutoRegenerateId() : string
- renderCookieParams() : string
- renderData() : string
- renderFlash() : string
- renderFlashNew() : string
- renderFlashOld() : string
- renderSaveHandler() : string
- renderSaveHandlerTableRows() : string
- renderTemp() : string
Properties
$activities
protected
array<string|int, mixed>
$activities
= []
$data
protected
array<string|int, mixed>
$data
= []
$name
protected
string
$name
$options
protected
array<string|int, mixed>
$options
= []
$saveHandler
protected
SaveHandler
$saveHandler
$session
protected
Session
$session
Methods
__construct()
public
__construct([string $name = 'default' ]) : mixed
Parameters
- $name : string = 'default'
Return values
mixed —addData()
public
addData(array<string|int, mixed> $data) : static
Parameters
- $data : array<string|int, mixed>
Return values
static —getActivities()
public
getActivities() : array<int, array<string, mixed>>
Return values
array<int, array<string, mixed>> —getContents()
public
getContents() : string
Return values
string —getData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed> —getName()
public
getName() : string
Return values
string —getSafeName()
public
getSafeName() : string
Return values
string —hasData()
public
hasData() : bool
Return values
bool —setOptions()
public
setOptions(array<string|int, string> $options) : static
Parameters
- $options : array<string|int, string>
Return values
static —setSaveHandler()
public
setSaveHandler(SaveHandler $handler) : static
Parameters
- $handler : SaveHandler
Return values
static —setSession()
public
setSession(Session $session) : static
Parameters
- $session : Session
Return values
static —getSaveHandlerConfigs()
protected
getSaveHandlerConfigs() : array<string, mixed>
Return values
array<string, mixed> —renderAutoRegenerateId()
protected
renderAutoRegenerateId() : string
Return values
string —renderCookieParams()
protected
renderCookieParams() : string
Return values
string —renderData()
protected
renderData() : string
Return values
string —renderFlash()
protected
renderFlash() : string
Return values
string —renderFlashNew()
protected
renderFlashNew() : string
Return values
string —renderFlashOld()
protected
renderFlashOld() : string
Return values
string —renderSaveHandler()
protected
renderSaveHandler() : string
Return values
string —renderSaveHandlerTableRows()
protected
renderSaveHandlerTableRows(string $key, mixed $value) : string
Parameters
- $key : string
- $value : mixed
Return values
string —renderTemp()
protected
renderTemp() : string