Skip to content

Commit

Permalink
refs #3994 use table as default type
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteur committed Oct 3, 2013
1 parent 5c30547 commit ec6de8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugins/ExampleUI/CustomDataTable.php
Expand Up @@ -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;
Expand Down

0 comments on commit ec6de8c

Please sign in to comment.