Manager
AbstractYes
Class Manager
Table of Contents
Constants
- DIALOG_ANSWER_STATISTIC_KEY = 'dialog_answer'
- DIALOG_CREATE_STATISTIC_KEY = 'dialog_create'
- DIALOG_SKIP_STATISTIC_KEY = 'dialog_skip'
- MARK_STATISTIC_KEY = 'mark'
- TREATMENT_BY_HOUR_STATISTIC_KEY = 'treatment_by_hour'
- for optimisation
- TREATMENT_STATISTIC_KEY = 'treatment'
Methods
- addToQueue() : mixed
- calculateStatisticsInQueue() : string
- getFromQueue() : mixed
- removeFromQueue() : mixed
- writeToStatistics() : mixed
Constants
DIALOG_ANSWER_STATISTIC_KEY
public
mixed
DIALOG_ANSWER_STATISTIC_KEY
= 'dialog_answer'
DIALOG_CREATE_STATISTIC_KEY
public
mixed
DIALOG_CREATE_STATISTIC_KEY
= 'dialog_create'
DIALOG_SKIP_STATISTIC_KEY
public
mixed
DIALOG_SKIP_STATISTIC_KEY
= 'dialog_skip'
MARK_STATISTIC_KEY
public
mixed
MARK_STATISTIC_KEY
= 'mark'
TREATMENT_BY_HOUR_STATISTIC_KEY
for optimisation
public
mixed
TREATMENT_BY_HOUR_STATISTIC_KEY
= 'treatment_by_hour'
TREATMENT_STATISTIC_KEY
public
mixed
TREATMENT_STATISTIC_KEY
= 'treatment'
Methods
addToQueue()
public
static addToQueue(mixed $sessionId, mixed $statisticKey[, array<string|int, mixed> $additionalParams = array() ]) : mixed
Parameters
- $sessionId : mixed
- $statisticKey : mixed
- $additionalParams : array<string|int, mixed> = array()
calculateStatisticsInQueue()
public
static calculateStatisticsInQueue() : string
Return values
stringgetFromQueue()
public
static getFromQueue(mixed $primary) : mixed
Parameters
- $primary : mixed
removeFromQueue()
public
static removeFromQueue(mixed $primary) : mixed
Parameters
- $primary : mixed
writeToStatistics()
public
static writeToStatistics(mixed $statisticKey, array<string|int, mixed> $params) : mixed
Parameters
- $statisticKey : mixed
- $params : array<string|int, mixed>