本文整理汇总了PHP中Piwik_Archive::getDataTableFromArchive方法的典型用法代码示例。如果您正苦于以下问题:PHP Piwik_Archive::getDataTableFromArchive方法的具体用法?PHP Piwik_Archive::getDataTableFromArchive怎么用?PHP Piwik_Archive::getDataTableFromArchive使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Piwik_Archive
的用法示例。
在下文中一共展示了Piwik_Archive::getDataTableFromArchive方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getDataTable
/**
* @return Piwik_DataTable
*/
protected function getDataTable($name, $idSite, $period, $date, $segment, $expanded, $idSubtable = null)
{
$dataTable = Piwik_Archive::getDataTableFromArchive($name, $idSite, $period, $date, $segment, $expanded, $idSubtable);
$dataTable->filter('Sort', array(Piwik_Archive::INDEX_NB_VISITS, 'desc', $naturalSort = false, $expanded));
$dataTable->queueFilter('ReplaceColumnNames');
return $dataTable;
}
示例2: getOutlinks
public function getOutlinks($idSite, $period, $date, $segment = false, $expanded = false, $idSubtable = false)
{
$dataTable = Piwik_Archive::getDataTableFromArchive('Actions_outlink', $idSite, $period, $date, $segment, $expanded, $idSubtable);
$this->filterActionsDataTable($dataTable, $expanded);
return $dataTable;
}
示例3: getSiteSearchKeywordsRaw
protected function getSiteSearchKeywordsRaw($idSite, $period, $date, $segment)
{
$dataTable = Piwik_Archive::getDataTableFromArchive('Actions_sitesearch', $idSite, $period, $date, $segment, $expanded = false);
return $dataTable;
}