ReportComponent
extends Injectable
in package
Class ReportComponent
Table of Contents
Properties
Methods
- __construct() : mixed
- doDeleteReport() : mixed
- doEditReport() : mixed
- doEditReportForApi() : mixed
- formatColumnClient() : mixed
- formatObjectReport() : stdClass
- getLastVatMonth() : mixed
- getReport() : false|null|Report
Properties
$storage read-only
public
CloudStorageComponent
$storage
$entryReportDownloadService
private
EntryReportDownloadService
$entryReportDownloadService
Methods
__construct()
public
__construct() : mixed
doDeleteReport()
public
doDeleteReport(Report $report) : mixed
Parameters
- $report : Report
doEditReport()
public
doEditReport(Report $report, mixed $command[, mixed $disable_flash = false ]) : mixed
Parameters
- $report : Report
- $command : mixed
- $disable_flash : mixed = false
doEditReportForApi()
public
doEditReportForApi(Report $report, mixed $command[, mixed $data = null ]) : mixed
Parameters
- $report : Report
- $command : mixed
- $data : mixed = null
formatColumnClient()
public
formatColumnClient(Report $report[, mixed $opt = [] ]) : mixed
Parameters
- $report : Report
- $opt : mixed = []
formatObjectReport()
public
formatObjectReport(Report &$report[, array<string|int, mixed> $opt = [] ]) : stdClass
Parameters
- $report : Report
- $opt : array<string|int, mixed> = []
Tags
Return values
stdClassgetLastVatMonth()
public
static getLastVatMonth() : mixed
getReport()
public
getReport(mixed $id[, null $user_id = null ][, bool $skipDownload = false ]) : false|null|Report
Parameters
- $id : mixed
- $user_id : null = null
- $skipDownload : bool = false