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

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@gmail.com>2013-10-21 00:09:28 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-10-21 00:09:28 +0400
commita8df11a91ba252ad0627750c78f7f4cc7c354275 (patch)
treed07bac422d5ef3484ed5bc4f9235e58fb27907b8 /plugins/VisitorInterest/VisitorInterest.php
parente35b0622ab4ba48bdbc1537360c607d3766d2abb (diff)
getDefaultViewTypeForReports -> getDefaultTypeViewDataTable
Diffstat (limited to 'plugins/VisitorInterest/VisitorInterest.php')
-rw-r--r--plugins/VisitorInterest/VisitorInterest.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/VisitorInterest/VisitorInterest.php b/plugins/VisitorInterest/VisitorInterest.php
index ccfe90c03a..a93d203ace 100644
--- a/plugins/VisitorInterest/VisitorInterest.php
+++ b/plugins/VisitorInterest/VisitorInterest.php
@@ -33,13 +33,13 @@ class VisitorInterest extends \Piwik\Plugin
public function getListHooksRegistered()
{
$hooks = array(
- 'ArchiveProcessor.Day.compute' => 'archiveDay',
- 'ArchiveProcessor.Period.compute' => 'archivePeriod',
- 'WidgetsList.addWidgets' => 'addWidgets',
- 'Menu.Reporting.addItems' => 'addMenu',
- 'API.getReportMetadata' => 'getReportMetadata',
- 'ViewDataTable.configure' => 'configureViewDataTable',
- 'Visualization.getDefaultViewTypeForReports' => 'getDefaultViewTypeForReports'
+ 'ArchiveProcessor.Day.compute' => 'archiveDay',
+ 'ArchiveProcessor.Period.compute' => 'archivePeriod',
+ 'WidgetsList.addWidgets' => 'addWidgets',
+ 'Menu.Reporting.addItems' => 'addMenu',
+ 'API.getReportMetadata' => 'getReportMetadata',
+ 'ViewDataTable.configure' => 'configureViewDataTable',
+ 'Visualization.getDefaultTypeViewDataTable' => 'getDefaultTypeViewDataTable'
);
return $hooks;
}
@@ -155,7 +155,7 @@ class VisitorInterest extends \Piwik\Plugin
$out .= '</div>';
}
- public function getDefaultViewTypeForReports(&$defaultViewTypes)
+ public function getDefaultTypeViewDataTable(&$defaultViewTypes)
{
$defaultViewTypes['VisitorInterest.getNumberOfVisitsPerVisitDuration'] = Cloud::ID;
$defaultViewTypes['VisitorInterest.getNumberOfVisitsPerPage'] = Cloud::ID;