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:
Diffstat (limited to 'plugins/DevicesDetection/Reports')
-rw-r--r--plugins/DevicesDetection/Reports/Base.php2
-rw-r--r--plugins/DevicesDetection/Reports/GetBrand.php5
-rw-r--r--plugins/DevicesDetection/Reports/GetBrowserEngines.php5
-rw-r--r--plugins/DevicesDetection/Reports/GetBrowserVersions.php8
-rw-r--r--plugins/DevicesDetection/Reports/GetBrowsers.php10
-rw-r--r--plugins/DevicesDetection/Reports/GetModel.php3
-rw-r--r--plugins/DevicesDetection/Reports/GetOsFamilies.php8
-rw-r--r--plugins/DevicesDetection/Reports/GetOsVersions.php8
-rw-r--r--plugins/DevicesDetection/Reports/GetType.php3
9 files changed, 32 insertions, 20 deletions
diff --git a/plugins/DevicesDetection/Reports/Base.php b/plugins/DevicesDetection/Reports/Base.php
index 15eac96a4a..cb24a376e4 100644
--- a/plugins/DevicesDetection/Reports/Base.php
+++ b/plugins/DevicesDetection/Reports/Base.php
@@ -14,6 +14,6 @@ abstract class Base extends \Piwik\Plugin\Report
{
protected function init()
{
- $this->category = 'DevicesDetection_DevicesDetection';
+ $this->categoryId = 'General_Visitors';
}
}
diff --git a/plugins/DevicesDetection/Reports/GetBrand.php b/plugins/DevicesDetection/Reports/GetBrand.php
index 070b2d8918..41b9fd5366 100644
--- a/plugins/DevicesDetection/Reports/GetBrand.php
+++ b/plugins/DevicesDetection/Reports/GetBrand.php
@@ -20,8 +20,9 @@ class GetBrand extends Base
$this->dimension = new DeviceBrand();
$this->name = Piwik::translate('DevicesDetection_DeviceBrand');
$this->documentation = ''; // TODO
- $this->order = 1;
- $this->widgetTitle = 'DevicesDetection_DeviceBrand';
+ $this->order = 4;
+
+ $this->subcategoryId = 'DevicesDetection_Devices';
}
public function configureView(ViewDataTable $view)
diff --git a/plugins/DevicesDetection/Reports/GetBrowserEngines.php b/plugins/DevicesDetection/Reports/GetBrowserEngines.php
index 7c47ffca63..403955c66c 100644
--- a/plugins/DevicesDetection/Reports/GetBrowserEngines.php
+++ b/plugins/DevicesDetection/Reports/GetBrowserEngines.php
@@ -21,8 +21,9 @@ class GetBrowserEngines extends Base
$this->dimension = new BrowserEngine();
$this->name = Piwik::translate('DevicesDetection_BrowserEngines');
$this->documentation = Piwik::translate('DevicesDetection_BrowserEngineDocumentation', '<br />');
- $this->order = 7;
- $this->widgetTitle = 'DevicesDetection_BrowserEngines';
+ $this->order = 10;
+
+ $this->subcategoryId = 'DevicesDetection_Software';
}
public function getDefaultTypeViewDataTable()
diff --git a/plugins/DevicesDetection/Reports/GetBrowserVersions.php b/plugins/DevicesDetection/Reports/GetBrowserVersions.php
index 4f5875199a..66c7f91f55 100644
--- a/plugins/DevicesDetection/Reports/GetBrowserVersions.php
+++ b/plugins/DevicesDetection/Reports/GetBrowserVersions.php
@@ -11,6 +11,7 @@ namespace Piwik\Plugins\DevicesDetection\Reports;
use Piwik\Piwik;
use Piwik\Plugin\ViewDataTable;
use Piwik\Plugins\DevicesDetection\Columns\BrowserVersion;
+use Piwik\Plugin\Reports;
class GetBrowserVersions extends Base
{
@@ -20,8 +21,9 @@ class GetBrowserVersions extends Base
$this->dimension = new BrowserVersion();
$this->name = Piwik::translate('DevicesDetection_BrowserVersion');
$this->documentation = ''; // TODO
- $this->order = 2;
- $this->widgetTitle = 'DevicesDetection_BrowserVersion';
+ $this->order = 6;
+
+ $this->subcategoryId = 'DevicesDetection_Software';
}
public function configureView(ViewDataTable $view)
@@ -34,7 +36,7 @@ class GetBrowserVersions extends Base
public function getRelatedReports()
{
return array(
- self::factory('DevicesDetection', 'getBrowsers'),
+ Reports::factory('DevicesDetection', 'getBrowsers'),
);
}
}
diff --git a/plugins/DevicesDetection/Reports/GetBrowsers.php b/plugins/DevicesDetection/Reports/GetBrowsers.php
index 7d08a51ce5..5c39a275ee 100644
--- a/plugins/DevicesDetection/Reports/GetBrowsers.php
+++ b/plugins/DevicesDetection/Reports/GetBrowsers.php
@@ -11,6 +11,7 @@ namespace Piwik\Plugins\DevicesDetection\Reports;
use Piwik\Piwik;
use Piwik\Plugin\ViewDataTable;
use Piwik\Plugins\DevicesDetection\Columns\BrowserName;
+use Piwik\Plugin\Reports;
class GetBrowsers extends Base
{
@@ -18,10 +19,11 @@ class GetBrowsers extends Base
{
parent::init();
$this->dimension = new BrowserName();
- $this->name = Piwik::translate('DevicesDetection_WidgetBrowsers');
+ $this->name = Piwik::translate('DevicesDetection_Browsers');
$this->documentation = Piwik::translate('DevicesDetection_WidgetBrowsersDocumentation', '<br />');
- $this->order = 1;
- $this->widgetTitle = 'DevicesDetection_WidgetBrowsers';
+ $this->order = 5;
+
+ $this->subcategoryId = 'DevicesDetection_Software';
}
public function configureView(ViewDataTable $view)
@@ -35,7 +37,7 @@ class GetBrowsers extends Base
public function getRelatedReports()
{
return array(
- self::factory('DevicesDetection', 'getBrowserVersions'),
+ Reports::factory('DevicesDetection', 'getBrowserVersions'),
);
}
}
diff --git a/plugins/DevicesDetection/Reports/GetModel.php b/plugins/DevicesDetection/Reports/GetModel.php
index e2241e1ad4..154464691c 100644
--- a/plugins/DevicesDetection/Reports/GetModel.php
+++ b/plugins/DevicesDetection/Reports/GetModel.php
@@ -21,7 +21,8 @@ class GetModel extends Base
$this->name = Piwik::translate('DevicesDetection_DeviceModel');
$this->documentation = ''; // TODO
$this->order = 2;
- $this->widgetTitle = 'DevicesDetection_DeviceModel';
+
+ $this->subcategoryId = 'DevicesDetection_Devices';
}
public function configureView(ViewDataTable $view)
diff --git a/plugins/DevicesDetection/Reports/GetOsFamilies.php b/plugins/DevicesDetection/Reports/GetOsFamilies.php
index 61b393cb44..a283a83f7b 100644
--- a/plugins/DevicesDetection/Reports/GetOsFamilies.php
+++ b/plugins/DevicesDetection/Reports/GetOsFamilies.php
@@ -11,6 +11,7 @@ namespace Piwik\Plugins\DevicesDetection\Reports;
use Piwik\Piwik;
use Piwik\Plugin\ViewDataTable;
use Piwik\Plugins\DevicesDetection\Columns\Os;
+use Piwik\Plugin\Reports;
class GetOsFamilies extends Base
{
@@ -20,8 +21,9 @@ class GetOsFamilies extends Base
$this->dimension = new Os();
$this->name = Piwik::translate('DevicesDetection_OperatingSystemFamilies');
$this->documentation = ''; // TODO
- $this->order = 3;
- $this->widgetTitle = 'DevicesDetection_OperatingSystemFamilies';
+ $this->order = 8;
+
+ $this->subcategoryId = 'DevicesDetection_Software';
}
public function configureView(ViewDataTable $view)
@@ -35,7 +37,7 @@ class GetOsFamilies extends Base
public function getRelatedReports()
{
return array(
- self::factory('DevicesDetection', 'getOsVersions'),
+ Reports::factory('DevicesDetection', 'getOsVersions'),
);
}
diff --git a/plugins/DevicesDetection/Reports/GetOsVersions.php b/plugins/DevicesDetection/Reports/GetOsVersions.php
index 8676f38776..b330054c6f 100644
--- a/plugins/DevicesDetection/Reports/GetOsVersions.php
+++ b/plugins/DevicesDetection/Reports/GetOsVersions.php
@@ -11,6 +11,7 @@ namespace Piwik\Plugins\DevicesDetection\Reports;
use Piwik\Piwik;
use Piwik\Plugin\ViewDataTable;
use Piwik\Plugins\DevicesDetection\Columns\OsVersion;
+use Piwik\Plugin\Reports;
class GetOsVersions extends Base
{
@@ -20,8 +21,9 @@ class GetOsVersions extends Base
$this->dimension = new OsVersion();
$this->name = Piwik::translate('DevicesDetection_OperatingSystemVersions');
$this->documentation = ''; // TODO
- $this->order = 4;
- $this->widgetTitle = 'DevicesDetection_OperatingSystemVersions';
+ $this->order = 2;
+
+ $this->subcategoryId = 'DevicesDetection_Software';
}
public function configureView(ViewDataTable $view)
@@ -35,7 +37,7 @@ class GetOsVersions extends Base
public function getRelatedReports()
{
return array(
- self::factory('DevicesDetection', 'getOsFamilies'),
+ Reports::factory('DevicesDetection', 'getOsFamilies'),
);
}
}
diff --git a/plugins/DevicesDetection/Reports/GetType.php b/plugins/DevicesDetection/Reports/GetType.php
index cbfa69db3d..b12f19f319 100644
--- a/plugins/DevicesDetection/Reports/GetType.php
+++ b/plugins/DevicesDetection/Reports/GetType.php
@@ -22,7 +22,8 @@ class GetType extends Base
$this->name = Piwik::translate('DevicesDetection_DeviceType');
$this->documentation = ''; // TODO
$this->order = 0;
- $this->widgetTitle = 'DevicesDetection_DeviceType';
+
+ $this->subcategoryId = 'DevicesDetection_Devices';
}
public function configureView(ViewDataTable $view)