ReportExportFormat
in package
Class ReportExportFormat
Handles the creation and management of report export format entries by interacting with the underlying database.
Table of Contents
Properties
Methods
- __construct() : mixed
- create() : void
- Create a report_export_format row.
Properties
$db
protected
MySql
$db
Methods
__construct()
public
__construct(MySql $db) : mixed
Parameters
- $db : MySql
create()
Create a report_export_format row.
public
create(array<string|int, mixed> $data) : void
Expects:
- report_id (int, required OR report_code)
- report_code (string|null)
- export_format_id (int|null)
- export_format_code (string, required)
- sort_order (int|null)
- status (int, default 1)
- createdby (string, required)
- modifiedby (string, required)
Parameters
- $data : array<string|int, mixed>