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/DevicePlugins/Columns/DevicePluginColumn.php')
-rw-r--r--plugins/DevicePlugins/Columns/DevicePluginColumn.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/DevicePlugins/Columns/DevicePluginColumn.php b/plugins/DevicePlugins/Columns/DevicePluginColumn.php
new file mode 100644
index 0000000000..9dc34ac569
--- /dev/null
+++ b/plugins/DevicePlugins/Columns/DevicePluginColumn.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * Piwik - free/libre analytics platform
+ *
+ * @link http://piwik.org
+ * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
+ *
+ */
+namespace Piwik\Plugins\DevicePlugins\Columns;
+
+use Piwik\Plugin\Dimension\VisitDimension;
+
+/**
+ * Columns extending this class will be automatically considered as new browser plugin
+ *
+ * Note: The column name needs to start with `config_` to be handled correctly
+ */
+abstract class DevicePluginColumn extends VisitDimension
+{
+ /**
+ * Can be overwritten by Columns in other plugins to
+ * set a custom icon not included in Piwik Core
+ */
+ public $columnIcon = null;
+}