blob: 27f34bb0044f8f829ce6078f8edb5d2f3c9159d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<?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 TreemapVisualization
*/
namespace Piwik\Plugins\ExampleVisualization;
use Piwik\ViewDataTable\Visualization;
/**
* Simple Visualization Example.
*/
class SimpleTable extends Visualization
{
const TEMPLATE_FILE = '@ExampleVisualization/simpleTable.twig';
const FOOTER_ICON_TITLE = 'Simple Table';
const FOOTER_ICON = 'plugins/ExampleVisualization/images/table.png';
/**
* You do not have to implement the init method. It is just an example how to assign view variables.
*/
public function init()
{
$this->vizTitle = 'MyAwesomeTitle';
}
}
|