EsgSection
in package
EsgSection class provides methods to retrieve ESG-related data such as retrieving all hierarchies for a module or all company sections associated with a module and company code.
Table of Contents
Properties
Methods
- __construct() : mixed
- getAll() : array<string|int, mixed>
- getAllCompanySections() : array<string|int, mixed>
Properties
$mySql
protected
MySql
$mySql
Methods
__construct()
public
__construct(MySql $mySql) : mixed
Parameters
- $mySql : MySql
getAll()
public
getAll(string $moduleCode) : array<string|int, mixed>
Parameters
- $moduleCode : string
Return values
array<string|int, mixed>getAllCompanySections()
public
getAllCompanySections(string $moduleCode, string $companyCode) : array<string|int, mixed>
Parameters
- $moduleCode : string
- $companyCode : string