ReportType
in package
Handles operations related to report types.
Table of Contents
Properties
Methods
- __construct() : mixed
- getAll() : array<int, array<string, mixed>>
- Get all report types (optionally filtered by status).
- getReferenceTypeCode() : string
- Returns report type reference code
Properties
$db
protected
MySql
$db
Methods
__construct()
public
__construct(MySql $db) : mixed
Parameters
- $db : MySql
getAll()
Get all report types (optionally filtered by status).
public
getAll([array<string|int, int> $status = [1] ]) : array<int, array<string, mixed>>
Parameters
- $status : array<string|int, int> = [1]
Return values
array<int, array<string, mixed>>getReferenceTypeCode()
Returns report type reference code
public
getReferenceTypeCode(string $reportTypeCode) : string
Parameters
- $reportTypeCode : string