Plugins can define their own report dashboards, which will be visible in the reports section within the operator panel. Plugin reports should be stored in a Reports
directory within the plugin.
For more information on developing report dashboards, please refer to: Report Development
To register a dashboard, it's the same process as if you build a full report - the main plugin controller constructor must call the registerReportDashboards
method with the dashboard classes in an array.
public function __construct()
{
parent::__construct();
...
$this->registerReportDashboards([
\Addons\Plugins\HelloWorld\Reports\Overview::class,
]);
}
Article Number: 217
Author: Jul 18, 2024
Last Updated: Jul 18, 2024
Online URL: https://docs.supportpro.vn/article/plugin-development-reports-217.html