Session
in package
Uses
StringTranslationTrait
Session class contains helpers functions.
Table of Contents
Properties
- $configFactory : ConfigFactory
- Configuration Factory.
- $database : Connection
- The database connection.
- $entityTypeManager : EntityTypeManagerInterface
- The entity type manager.
- $sessionRegistrationHelper : Session
- Instance of SessionRegistrationHelper.
Methods
- __construct() : mixed
- Session helper Constructor.
- getProgrammeSessionsSubmissions() : mixed
- Get only sessions submissions of programme.
- getSessionsWithRegistrationsFullyBooked() : mixed
- Get sessions fully booked.
- getSessionsWithRegistrationsLowerThan50() : mixed
- Get only sessions submissions of programme.
- getWebformSessionReceived() : mixed
- Get webform received session submissions (all sessions on the database).
- getWebformSessionSelected() : mixed
- Get webform session submissions.
- getWebformSessionSubmissions() : mixed
- Get webform session submissions.
- getAcceptedSessions() : mixed
- Return accepted sessions.
- getMergedLeadSessions() : mixed
- Return merged lead sessions.
Properties
$configFactory
Configuration Factory.
protected
ConfigFactory
$configFactory
$database
The database connection.
protected
Connection
$database
$entityTypeManager
The entity type manager.
protected
EntityTypeManagerInterface
$entityTypeManager
$sessionRegistrationHelper
Instance of SessionRegistrationHelper.
protected
Session
$sessionRegistrationHelper
Methods
__construct()
Session helper Constructor.
public
__construct(Connection $database, EntityTypeManagerInterface $entity_type_manager, ConfigFactory $configFactory, Session $session) : mixed
Parameters
- $database : Connection
- $entity_type_manager : EntityTypeManagerInterface
- $configFactory : ConfigFactory
- $session : Session
getProgrammeSessionsSubmissions()
Get only sessions submissions of programme.
public
getProgrammeSessionsSubmissions() : mixed
getSessionsWithRegistrationsFullyBooked()
Get sessions fully booked.
public
getSessionsWithRegistrationsFullyBooked() : mixed
getSessionsWithRegistrationsLowerThan50()
Get only sessions submissions of programme.
public
getSessionsWithRegistrationsLowerThan50() : mixed
getWebformSessionReceived()
Get webform received session submissions (all sessions on the database).
public
getWebformSessionReceived([mixed $evaluator = NULL ]) : mixed
Parameters
- $evaluator : mixed = NULL
getWebformSessionSelected()
Get webform session submissions.
public
getWebformSessionSelected([mixed $evaluator = NULL ]) : mixed
Parameters
- $evaluator : mixed = NULL
getWebformSessionSubmissions()
Get webform session submissions.
public
getWebformSessionSubmissions([mixed $evaluator = NULL ]) : mixed
Parameters
- $evaluator : mixed = NULL
getAcceptedSessions()
Return accepted sessions.
private
getAcceptedSessions([mixed $uid = NULL ]) : mixed
Parameters
- $uid : mixed = NULL
getMergedLeadSessions()
Return merged lead sessions.
private
getMergedLeadSessions([mixed $uid = NULL ]) : mixed
Parameters
- $uid : mixed = NULL