Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2015-07-03 03:54:27 +0300
committersgiehl <stefan@piwik.org>2015-10-06 18:25:13 +0300
commit9ba8f216fd7856ce5fef06bf82ecb8f8a2e7e630 (patch)
tree6ce07d18a85d00b39ab720abe042361c0775aead /plugins/ExampleReport
parent8ccc9dc05da021325cdbf141a548637fa52f16b2 (diff)
generate pages instead of implementing them in each controller
Diffstat (limited to 'plugins/ExampleReport')
-rw-r--r--plugins/ExampleReport/Reports/Base.php2
-rw-r--r--plugins/ExampleReport/Reports/GetExampleReport.php8
2 files changed, 3 insertions, 7 deletions
diff --git a/plugins/ExampleReport/Reports/Base.php b/plugins/ExampleReport/Reports/Base.php
index c09da78e4b..35af935d9e 100644
--- a/plugins/ExampleReport/Reports/Base.php
+++ b/plugins/ExampleReport/Reports/Base.php
@@ -14,6 +14,6 @@ abstract class Base extends Report
{
protected function init()
{
- $this->category = 'ExampleCategory';
+ $this->categoryId = 'ExampleCategory';
}
}
diff --git a/plugins/ExampleReport/Reports/GetExampleReport.php b/plugins/ExampleReport/Reports/GetExampleReport.php
index 42af54d04a..9e0980f050 100644
--- a/plugins/ExampleReport/Reports/GetExampleReport.php
+++ b/plugins/ExampleReport/Reports/GetExampleReport.php
@@ -49,12 +49,8 @@ class GetExampleReport extends Base
// 24 rows for 1-24hours
// $this->constantRowsCount = true;
- // If a menu title is specified, the report will be displayed in the menu
- // $this->menuTitle = 'ExampleReportName';
-
- // If a widget title is specified, the report will be displayed in the list of widgets and the report can be
- // exported as a widget
- // $this->widgetTitle = 'ExampleReportName';
+ // If a subcategory is specified, the report will be displayed in the menu under this menu item
+ // $this->subCategory = 'ExampleReportName';
}
/**