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-03 07:43:58 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-10-03 07:43:58 +0400
commitec6de8cc85d13e4f9ccb0ba251befc41af0f38fd (patch)
treed21dbbe71de2723eb50efbde5b081824c0e18711 /plugins/ExampleUI
parent5c30547c7703b5e8f9e52a83b82a8ac21572ce3d (diff)
refs #3994 use table as default type
Diffstat (limited to 'plugins/ExampleUI')
-rw-r--r--plugins/ExampleUI/CustomDataTable.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/ExampleUI/CustomDataTable.php b/plugins/ExampleUI/CustomDataTable.php
index d130495a96..1d921e6bcd 100644
--- a/plugins/ExampleUI/CustomDataTable.php
+++ b/plugins/ExampleUI/CustomDataTable.php
@@ -11,13 +11,14 @@
namespace Piwik\Plugins\ExampleUI;
+use Piwik\View;
use Piwik\ViewDataTable;
class CustomDataTable
{
public function render($value, $label, $apiAction, $controllerAction)
{
- $view = ViewDataTable::factory('exampleui-customtable', $apiAction, $controllerAction);
+ $view = ViewDataTable::factory('table', $apiAction, $controllerAction);
$view->translations['value'] = $value;
$view->translations['label'] = $label;