Documentation

ReportEntry
in package

Handles operations related to report entries, such as fetching entries by code or report ID and creating new report entries.

Table of Contents

Properties

$codeRangeGenerator  : CodeRangeGenerator
$db  : MySql

Methods

__construct()  : mixed
create()  : array<string, mixed>
Create a report_entry and return the FULL row.
getByCode()  : array<string|int, mixed>
getByReport()  : array<int, array<string, mixed>>

Properties

Methods

create()

Create a report_entry and return the FULL row.

public create(array<string, mixed> $data) : array<string, mixed>
Parameters
$data : array<string, mixed>
Return values
array<string, mixed>

getByCode()

public getByCode(string $code) : array<string|int, mixed>
Parameters
$code : string
Return values
array<string|int, mixed>

getByReport()

public getByReport(int $reportId) : array<int, array<string, mixed>>
Parameters
$reportId : int
Return values
array<int, array<string, mixed>>

        
On this page

Search results