diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2013-10-03 07:43:58 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2013-10-03 07:43:58 +0400 |
commit | ec6de8cc85d13e4f9ccb0ba251befc41af0f38fd (patch) | |
tree | d21dbbe71de2723eb50efbde5b081824c0e18711 /plugins/ExampleUI | |
parent | 5c30547c7703b5e8f9e52a83b82a8ac21572ce3d (diff) |
refs #3994 use table as default type
Diffstat (limited to 'plugins/ExampleUI')
-rw-r--r-- | plugins/ExampleUI/CustomDataTable.php | 3 |
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; |