Esempio n. 1
0
 /**
  * @see Piwik_ViewDataTable::init()
  */
 function init($currentControllerName, $currentControllerAction, $moduleNameAndMethod)
 {
     parent::init($currentControllerName, $currentControllerAction, $moduleNameAndMethod);
     $this->dataTableTemplate = 'Home/templates/cloud.tpl';
     $this->disableOffsetInformation();
     $this->disableExcludeLowPopulation();
 }
	/**
	 * @see Piwik_ViewDataTable::init()
	 */
	function init($currentControllerName,
						$currentControllerAction,
						$apiMethodToRequestDataTable,
						$controllerActionCalledWhenRequestSubTable = null)
	{
		parent::init($currentControllerName,
						$currentControllerAction,
						$apiMethodToRequestDataTable,
						$controllerActionCalledWhenRequestSubTable);
		
		$this->dataTableTemplate = 'CoreHome/templates/graph.tpl';
		
		$this->disableOffsetInformationAndPaginationControls();
		$this->disableExcludeLowPopulation();
		$this->disableSearchBox();
		$this->enableShowExportAsImageIcon();
		
		$this->parametersToModify = array(
						'viewDataTable' => $this->getViewDataTableIdToLoad(),
						// in the case this controller is being executed by another controller
						// eg. when being widgetized in an IFRAME
						// we need to put in the URL of the graph data the real module and action
						'module' => $currentControllerName,
						'action' => $currentControllerAction,
		);
	}
Esempio n. 3
0
 /**
  * @see Piwik_ViewDataTable::init()
  */
 function init($currentControllerName, $currentControllerAction, $apiMethodToRequestDataTable, $controllerActionCalledWhenRequestSubTable = null)
 {
     parent::init($currentControllerName, $currentControllerAction, $apiMethodToRequestDataTable, $controllerActionCalledWhenRequestSubTable);
     $this->dataTableTemplate = 'CoreHome/templates/cloud.tpl';
     $this->disableOffsetInformation();
     $this->disableExcludeLowPopulation();
 }
Esempio n. 4
0
 /**
  * @see Piwik_ViewDataTable::init()
  *
  */
 function init($currentControllerName, $currentControllerAction, $moduleNameAndMethod)
 {
     parent::init($currentControllerName, $currentControllerAction, $moduleNameAndMethod);
     $this->dataTableTemplate = 'Home/templates/graph.tpl';
     $this->disableOffsetInformation();
     $this->disableExcludeLowPopulation();
     $this->disableSearchBox();
     $this->parametersToModify = array('viewDataTable' => $this->valueParameterViewDataTable, 'module' => $currentControllerName, 'action' => $currentControllerAction);
 }
Esempio n. 5
0
 /**
  * @see Piwik_ViewDataTable::init()
  */
 function init($currentControllerName, $currentControllerAction, $apiMethodToRequestDataTable, $controllerActionCalledWhenRequestSubTable = null)
 {
     parent::init($currentControllerName, $currentControllerAction, $apiMethodToRequestDataTable, $controllerActionCalledWhenRequestSubTable);
     $this->dataTableTemplate = 'CoreHome/templates/datatable.tpl';
     $this->variablesDefault['enable_sort'] = '1';
     $this->setSortedColumn('nb_visits', 'desc');
     $this->setLimit(Zend_Registry::get('config')->General->datatable_default_limit);
     $this->handleLowPopulation();
 }
 /**
  * @see Piwik_ViewDataTable::init()
  * @param string $currentControllerName
  * @param string $currentControllerAction
  * @param string $apiMethodToRequestDataTable
  * @param null $controllerActionCalledWhenRequestSubTable
  */
 function init($currentControllerName, $currentControllerAction, $apiMethodToRequestDataTable, $controllerActionCalledWhenRequestSubTable = null)
 {
     parent::init($currentControllerName, $currentControllerAction, $apiMethodToRequestDataTable, $controllerActionCalledWhenRequestSubTable);
     $this->dataTableTemplate = 'CoreHome/templates/graph.tpl';
     $this->disableOffsetInformationAndPaginationControls();
     $this->disableExcludeLowPopulation();
     $this->disableSearchBox();
     $this->enableShowExportAsImageIcon();
     $this->parametersToModify = array('viewDataTable' => $this->getViewDataTableIdToLoad(), 'module' => $currentControllerName, 'action' => $currentControllerAction);
 }
Esempio n. 7
0
 /**
  * @see Piwik_ViewDataTable::init()
  */
 function init($currentControllerName, $currentControllerAction, $moduleNameAndMethod, $actionToLoadTheSubTable = null)
 {
     parent::init($currentControllerName, $currentControllerAction, $moduleNameAndMethod, $actionToLoadTheSubTable);
     $this->dataTableTemplate = 'Home/templates/datatable.tpl';
     $this->variablesDefault['enable_sort'] = true;
     // load general columns translations
     $this->setColumnTranslation('nb_visits', Piwik_Translate('General_ColumnNbVisits'));
     $this->setColumnTranslation('label', Piwik_Translate('General_ColumnLabel'));
     $this->setColumnTranslation('nb_uniq_visitors', Piwik_Translate('General_ColumnNbUniqVisitors'));
 }
Esempio n. 8
0
 /**
  * @see Piwik_ViewDataTable::init()
  */
 function init($currentControllerName, $currentControllerAction, $moduleNameAndMethod)
 {
     parent::init($currentControllerName, $currentControllerAction, $moduleNameAndMethod);
 }