Organisation
in package
Organisation class contains helpers functions.
Table of Contents
Properties
- $database : Connection
- The database connection.
- $entityTypeManager : EntityTypeManagerInterface
- The entity type manager.
- $utilsHelper : Utils
- Utils helper.
Methods
- __construct() : mixed
- Organisation helper Constructor.
- getOrganisationsByAcronym() : mixed
- Search organisations by acronym and return id.
Properties
$database
The database connection.
protected
Connection
$database
$entityTypeManager
The entity type manager.
protected
EntityTypeManagerInterface
$entityTypeManager
$utilsHelper
Utils helper.
protected
Utils
$utilsHelper
Methods
__construct()
Organisation helper Constructor.
public
__construct(Connection $database, EntityTypeManagerInterface $entity_type_manager, Utils $utilsHelper) : mixed
Parameters
- $database : Connection
- $entity_type_manager : EntityTypeManagerInterface
- $utilsHelper : Utils
getOrganisationsByAcronym()
Search organisations by acronym and return id.
public
getOrganisationsByAcronym(mixed $acronym) : mixed
Parameters
- $acronym : mixed