OrganisationController
extends ControllerBase
in package
Provide organisation details.
Table of Contents
Properties
- $database : Connection
- The database connection.
- $entityTypeManager : EntityTypeManagerInterface
- The entity type manager.
- $request : RequestStack
- The HttpRequest object.
Methods
- __construct() : mixed
- Constructs a User object.
- checkOrganisationsIfAllLra() : mixed
- Return if organisations are All LRA.
- create() : mixed
- Create container.
- getNoOrganisationPage() : mixed
- Get the Reporting page.
- getOrganisationDetails() : mixed
- Return organisation details.
Properties
$database
The database connection.
protected
Connection
$database
$entityTypeManager
The entity type manager.
protected
EntityTypeManagerInterface
$entityTypeManager
$request
The HttpRequest object.
protected
RequestStack
$request
Methods
__construct()
Constructs a User object.
public
__construct(RequestStack $request, EntityTypeManagerInterface $entity_type_manager, Connection $database) : mixed
Parameters
- $request : RequestStack
- $entity_type_manager : EntityTypeManagerInterface
- $database : Connection
checkOrganisationsIfAllLra()
Return if organisations are All LRA.
public
checkOrganisationsIfAllLra(Request $request) : mixed
Parameters
- $request : Request
create()
Create container.
public
static create(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
getNoOrganisationPage()
Get the Reporting page.
public
getNoOrganisationPage() : mixed
getOrganisationDetails()
Return organisation details.
public
getOrganisationDetails(Request $request) : mixed
Parameters
- $request : Request