Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Controller.php « Actions « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 121f385276a24232bac172f678f66e30a876b9b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

require_once "API/Request.php";
require_once "View/DataTable.php";
class Piwik_Actions_Controller extends Piwik_Controller
{	
	function index( )
	{
		$dataTableActions = $this->getActions( true );
		echo $dataTableActions;
	}
	function getActions($fetch = false)
	{
		$view = new Piwik_View_DataTable( __FUNCTION__, 'Actions.getActions' );
		$view->disableSearchBox();
		$view->disableSort();
		$view->disableOffsetInformation();
		
		$view->setDefaultLimit( 10 );
		
		return $this->renderView($view, $fetch);
	}
}