Contents

Dashboard\Widgets\Dash\ReportProcessor

Overview

ReportProcessor concern


Protected Methods

protected applyIntervalDefaultsFromDatabase()

protected applyIntervalDefaultsFromDatabase($savedDash): void 

applyIntervalDefaultsFromDatabase overrides the widget's interval defaults with values managed by the user via the dashboard form, falling back to the YAML/property defaults when a column is empty.

protected processDashWidgetReports()

protected processDashWidgetReports($reports): void

processDashWidgetReports processes dash widgets from flexible source (yaml or custom)

protected processDashWidgetReportsFromCustomData()

protected processDashWidgetReportsFromCustomData($reports): void

processDashWidgetReportsFromCustom locates dash widgets from a custom data source

protected processDashWidgetReportsFromYaml()

protected processDashWidgetReportsFromYaml($reports): void

processDashWidgetReports will mutate reports types that are registered as widgets, convert their type to 'widget' and internally allocate the widget object

protected processOverrideFromDatabase()

protected processOverrideFromDatabase(): void

protected processPermissionCheck()

protected processPermissionCheck($reports): void

processPermissionCheck check if user has permissions to show the report and removes it if permission is denied

protected processReportRowWidgetMetrics()

protected processReportRowWidgetMetrics($metrics): void

protected processReportRows()

protected processReportRows($reports): void