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@googlemail.com>2014-03-10 05:53:19 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-03-10 05:53:19 +0400
commit3710bb49dc11df86f40a87c65cd1038b3bbff2db (patch)
treeac9287862e07c790279d7598038dc83413f2f238 /plugins/Actions/Actions.php
parent03583a98a563830f856c30a6206d265bb94b73e8 (diff)
refs #57 some more code tweaks and documentation
Diffstat (limited to 'plugins/Actions/Actions.php')
-rw-r--r--plugins/Actions/Actions.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/plugins/Actions/Actions.php b/plugins/Actions/Actions.php
index 3b2ddf8a0d..2256d6334b 100644
--- a/plugins/Actions/Actions.php
+++ b/plugins/Actions/Actions.php
@@ -42,11 +42,19 @@ class Actions extends \Piwik\Plugin
'API.getSegmentDimensionMetadata' => 'getSegmentsMetadata',
'ViewDataTable.configure' => 'configureViewDataTable',
'AssetManager.getStylesheetFiles' => 'getStylesheetFiles',
- 'AssetManager.getJavaScriptFiles' => 'getJsFiles'
+ 'AssetManager.getJavaScriptFiles' => 'getJsFiles',
+ 'Insights.addReportToOverview' => 'addReportToInsightsOverview'
);
return $hooks;
}
+ public function addReportToInsightsOverview(&$reports)
+ {
+ $reports['Actions_getPageUrls'] = array();
+ $reports['Actions_getPageTitles'] = array();
+ $reports['Actions_getDownloads'] = array('flat' => 1);
+ }
+
public function getStylesheetFiles(&$stylesheets)
{
$stylesheets[] = "plugins/Actions/stylesheets/dataTableActions.less";