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>2013-10-16 08:07:16 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-10-16 08:07:16 +0400
commit74117a851377fba8d439d349dc82ca1e3c2db3ee (patch)
tree196a40b519d42e017fefdd16dfc5b29cf7638b7e /plugins/ExampleVisualization
parentfd5ee5a95d3b4f2edfd68bdb90d7e771d3508d1c (diff)
removed more magic, force visualization developers to define an ID: I do not like it when there are two ways to define an ID
Diffstat (limited to 'plugins/ExampleVisualization')
-rw-r--r--plugins/ExampleVisualization/SimpleTable.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/ExampleVisualization/SimpleTable.php b/plugins/ExampleVisualization/SimpleTable.php
index 9472e47d34..304d69efb9 100644
--- a/plugins/ExampleVisualization/SimpleTable.php
+++ b/plugins/ExampleVisualization/SimpleTable.php
@@ -19,6 +19,7 @@ use Piwik\Plugin\Visualization;
*/
class SimpleTable extends Visualization
{
+ const ID = 'simpleTable';
const TEMPLATE_FILE = '@ExampleVisualization/simpleTable.twig';
const FOOTER_ICON_TITLE = 'Simple Table';
const FOOTER_ICON = 'plugins/ExampleVisualization/images/table.png';