Reporting
in package
Session class contains helpers functions.
Table of Contents
Properties
- $configFactory : ConfigFactory
- Configuration Factory.
- $database : Connection
- The database connection.
- $dateFormatter : DateFormatterInterface
- The date formatter service.
- $entityTypeManager : EntityTypeManagerInterface
- The entity type manager.
- $streamWrapperManager : StreamWrapperManager
- The Stream Wrapper Manager.
- $termHelper : Term
- Term helper.
- $utilsHelper : Utils
- Utils helper.
Methods
- __construct() : mixed
- Session helper Constructor.
- getAttachedReportingSubmission() : mixed
- Fetch attached multimedia files to specific session.
- getReportingData() : mixed
- Return reporting formatted data.
- getSessionReportingData() : mixed
- Return reporting data.
Properties
$configFactory
Configuration Factory.
protected
ConfigFactory
$configFactory
$database
The database connection.
protected
Connection
$database
$dateFormatter
The date formatter service.
protected
DateFormatterInterface
$dateFormatter
$entityTypeManager
The entity type manager.
protected
EntityTypeManagerInterface
$entityTypeManager
$streamWrapperManager
The Stream Wrapper Manager.
protected
StreamWrapperManager
$streamWrapperManager
$termHelper
Term helper.
protected
Term
$termHelper
$utilsHelper
Utils helper.
protected
Utils
$utilsHelper
Methods
__construct()
Session helper Constructor.
public
__construct(Connection $database, EntityTypeManagerInterface $entity_type_manager, ConfigFactory $configFactory, StreamWrapperManager $stream_wrapper_manager, DateFormatterInterface $dateFormatter, Term $termHelper, Utils $utilsHelper) : mixed
Parameters
- $database : Connection
-
Database connection instance.
- $entity_type_manager : EntityTypeManagerInterface
-
EntityTypeManager instance.
- $configFactory : ConfigFactory
-
Config factory instance.
- $stream_wrapper_manager : StreamWrapperManager
-
The Stream Wrapper Manager.
- $dateFormatter : DateFormatterInterface
-
Date formatter.
- $termHelper : Term
-
Term helper.
- $utilsHelper : Utils
-
Utils helper.
getAttachedReportingSubmission()
Fetch attached multimedia files to specific session.
public
getAttachedReportingSubmission(mixed $sessionId) : mixed
Parameters
- $sessionId : mixed
getReportingData()
Return reporting formatted data.
public
getReportingData() : mixed
getSessionReportingData()
Return reporting data.
public
getSessionReportingData(mixed $sessionId) : mixed
Parameters
- $sessionId : mixed