当前位置: 首页>>代码示例>>PHP>>正文


PHP Piwik_ViewDataTable::init方法代码示例

本文整理汇总了PHP中Piwik_ViewDataTable::init方法的典型用法代码示例。如果您正苦于以下问题:PHP Piwik_ViewDataTable::init方法的具体用法?PHP Piwik_ViewDataTable::init怎么用?PHP Piwik_ViewDataTable::init使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Piwik_ViewDataTable的用法示例。


在下文中一共展示了Piwik_ViewDataTable::init方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: init

 /**
  * @see Piwik_ViewDataTable::init()
  */
 function init($currentControllerName, $currentControllerAction, $moduleNameAndMethod)
 {
     parent::init($currentControllerName, $currentControllerAction, $moduleNameAndMethod);
     $this->dataTableTemplate = 'Home/templates/cloud.tpl';
     $this->disableOffsetInformation();
     $this->disableExcludeLowPopulation();
 }
开发者ID:Doluci,项目名称:tomatocart,代码行数:10,代码来源:Cloud.php

示例2: init

	/**
	 * @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,
		);
	}
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:29,代码来源:GenerateGraphHTML.php

示例3: init

 /**
  * @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();
 }
开发者ID:Doluci,项目名称:tomatocart,代码行数:10,代码来源:Cloud.php

示例4: init

 /**
  * @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);
 }
开发者ID:Doluci,项目名称:tomatocart,代码行数:13,代码来源:Graph.php

示例5: init

 /**
  * @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();
 }
开发者ID:BackupTheBerlios,项目名称:oos-svn,代码行数:12,代码来源:HtmlTable.php

示例6: init

 /**
  * @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);
 }
开发者ID:josl,项目名称:CGE-File-Sharing,代码行数:17,代码来源:GenerateGraphHTML.php

示例7: init

 /**
  * @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'));
 }
开发者ID:Doluci,项目名称:tomatocart,代码行数:13,代码来源:Html.php

示例8: init

 /**
  * @see Piwik_ViewDataTable::init()
  */
 function init($currentControllerName, $currentControllerAction, $moduleNameAndMethod)
 {
     parent::init($currentControllerName, $currentControllerAction, $moduleNameAndMethod);
 }
开发者ID:Doluci,项目名称:tomatocart,代码行数:7,代码来源:Sparkline.php


注:本文中的Piwik_ViewDataTable::init方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。