From 07dab25d926001fbeb0f15958a1cf03e3dd22f20 Mon Sep 17 00:00:00 2001 From: mattab <matthieu.aubry@gmail.com> Date: Fri, 9 Aug 2013 16:51:35 +0200 Subject: [PATCH] Refs #4041 Deleting ExtraVisualizations plugin (to be renamed to Treemap) --- .../ExtraVisualizations.php | 47 ------------------- .../Visualizations/Treemap.php | 31 ------------ .../stylesheets/dataTableVisualizations.less | 0 3 files changed, 78 deletions(-) delete mode 100644 plugins/ExtraVisualizations/ExtraVisualizations.php delete mode 100644 plugins/ExtraVisualizations/Visualizations/Treemap.php delete mode 100644 plugins/ExtraVisualizations/stylesheets/dataTableVisualizations.less diff --git a/plugins/ExtraVisualizations/ExtraVisualizations.php b/plugins/ExtraVisualizations/ExtraVisualizations.php deleted file mode 100644 index 540183802e..0000000000 --- a/plugins/ExtraVisualizations/ExtraVisualizations.php +++ /dev/null @@ -1,47 +0,0 @@ -<?php -/** - * Piwik - Open source web analytics - * - * @link http://piwik.org - * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later - * - * @category Piwik_Plugins - * @package Piwik_ExtraVisualizations - */ - -use Piwik\Plugin; - -require_once PIWIK_INCLUDE_PATH . '/plugins/ExtraVisualizations/Visualizations/Treemap.php'; - -/** - * This plugin contains spme extra DataTable visualizations, such as Treemap. - */ -class Piwik_ExtraVisualizations extends Plugin -{ - /** - * @see Piwik_Plugin::getListHooksRegistered - */ - public function getListHooksRegistered() - { - return array( - 'AssetManager.getCssFiles' => 'getCssFiles', - 'AssetManager.getJsFiles' => 'getJsFiles', - 'DataTableVisualization.getAvailable' => 'getAvailableDataTableVisualizations', - ); - } - - public function getAvailableDataTableVisualizations(&$visualizations) - { - $visualizations[] = "Piwik\\Plugins\\ExtraVisualizations\\Visualizations\\Treemap"; - } - - public function getCssFiles(&$cssFiles) - { - $cssFiles[] = "plugins/CoreVisualizations/stylesheets/dataTableVisualizations.less"; - } - - public function getJsFiles(&$jsFiles) - { - //$jsFiles[] = ""; - } -} \ No newline at end of file diff --git a/plugins/ExtraVisualizations/Visualizations/Treemap.php b/plugins/ExtraVisualizations/Visualizations/Treemap.php deleted file mode 100644 index f469be9a61..0000000000 --- a/plugins/ExtraVisualizations/Visualizations/Treemap.php +++ /dev/null @@ -1,31 +0,0 @@ -<?php -/** - * Piwik - Open source web analytics - * - * @link http://piwik.org - * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later - * - * @category Piwik - * @package Piwik - */ -namespace Piwik\Plugins\ExtraVisualizations\Visualizations; - -use Piwik\Plugins\CoreVisualizations\Visualizations\HtmlTable; - -/** - * TODO - */ -class Treemap extends HtmlTable -{ - const ID = 'treemap'; - const FOOTER_ICON = 'plugins/Zeitgeist/images/table.png'; - const FOOTER_ICON_TITLE = 'General_DisplaySimpleTable'; - - /** - * TODO - */ - public function __construct($view) - { - // TODO - } -} \ No newline at end of file diff --git a/plugins/ExtraVisualizations/stylesheets/dataTableVisualizations.less b/plugins/ExtraVisualizations/stylesheets/dataTableVisualizations.less deleted file mode 100644 index e69de29bb2..0000000000 -- GitLab