Session
in package
Session class contains helpers functions.
Table of Contents
Constants
- DURATION = ['TK' => 15, 'WS' => 60, 'PL' => 90, 'RP' => 60]
Methods
- getAcceptedSessions() : mixed
- Return accepted sessions.
- getFormatDuration() : mixed
- Return the duration of the current session format.
- getMergedLeadSessions() : mixed
- Return merged lead sessions.
- getOrganisationCountry() : mixed
- Detect if is a holiday day.
- getOrganisationName() : mixed
- Return organisation name.
- getSessionFormat() : mixed
- Return sessionFormat code.
Constants
DURATION
private
mixed
DURATION
= ['TK' => 15, 'WS' => 60, 'PL' => 90, 'RP' => 60]
Methods
getAcceptedSessions()
Return accepted sessions.
public
static getAcceptedSessions() : mixed
getFormatDuration()
Return the duration of the current session format.
public
static getFormatDuration(mixed $format) : mixed
Parameters
- $format : mixed
getMergedLeadSessions()
Return merged lead sessions.
public
static getMergedLeadSessions() : mixed
getOrganisationCountry()
Detect if is a holiday day.
public
static getOrganisationCountry(mixed $organisationId) : mixed
Parameters
- $organisationId : mixed
getOrganisationName()
Return organisation name.
public
static getOrganisationName(mixed $organisationId) : mixed
Parameters
- $organisationId : mixed
getSessionFormat()
Return sessionFormat code.
public
static getSessionFormat(mixed $id) : mixed
Parameters
- $id : mixed