diff options
author | Stefan Giehl <stefan@piwik.org> | 2017-06-02 00:46:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-02 00:46:42 +0300 |
commit | 457d630c4fc33f6606a500ac439f688fc1508b2a (patch) | |
tree | 40b098944a2213ee424b9bd1b51b0d52af2ce816 /plugins/DevicePlugins/Columns/DevicePluginColumn.php | |
parent | 1821691bb1e333bed804cf7c83a363a74cb9f52a (diff) |
Improve handling of DevicePlugins to make it extendable (#11748)
* Improve handling of DevicePlugins to make it extendable
* update test files
* add some comments to explain automatic plugin column detection
* submodule update
Diffstat (limited to 'plugins/DevicePlugins/Columns/DevicePluginColumn.php')
-rw-r--r-- | plugins/DevicePlugins/Columns/DevicePluginColumn.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/DevicePlugins/Columns/DevicePluginColumn.php b/plugins/DevicePlugins/Columns/DevicePluginColumn.php new file mode 100644 index 0000000000..a122b3887d --- /dev/null +++ b/plugins/DevicePlugins/Columns/DevicePluginColumn.php @@ -0,0 +1,21 @@ +<?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 +{ + +}
\ No newline at end of file |