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>2015-05-07 04:55:23 +0300
committerThomas Steur <thomas.steur@gmail.com>2015-05-07 04:55:23 +0300
commit12868d4bd0277305583b15c0c1c078437bb49056 (patch)
tree1e34d7e59968526425c3314a7a6ef0966aa90e71 /plugins/Actions/Reports
parentc6ed2a5a74fd1fa8aeec23b6f4c81666a8647c8b (diff)
refs #7821 do not instantiate reports directly
Diffstat (limited to 'plugins/Actions/Reports')
-rw-r--r--plugins/Actions/Reports/GetEntryPageTitles.php4
-rw-r--r--plugins/Actions/Reports/GetEntryPageUrls.php2
-rw-r--r--plugins/Actions/Reports/GetExitPageTitles.php4
-rw-r--r--plugins/Actions/Reports/GetExitPageUrls.php2
-rw-r--r--plugins/Actions/Reports/GetPageTitles.php4
-rw-r--r--plugins/Actions/Reports/GetPageTitlesFollowingSiteSearch.php2
-rw-r--r--plugins/Actions/Reports/GetPageUrlsFollowingSiteSearch.php2
7 files changed, 10 insertions, 10 deletions
diff --git a/plugins/Actions/Reports/GetEntryPageTitles.php b/plugins/Actions/Reports/GetEntryPageTitles.php
index e773f0ce43..e166c87cb8 100644
--- a/plugins/Actions/Reports/GetEntryPageTitles.php
+++ b/plugins/Actions/Reports/GetEntryPageTitles.php
@@ -79,8 +79,8 @@ class GetEntryPageTitles extends Base
public function getRelatedReports()
{
return array(
- new GetPageTitles(),
- new GetEntryPageUrls()
+ self::factory('Actions', 'getPageTitles'),
+ self::factory('Actions', 'getEntryPageUrls')
);
}
}
diff --git a/plugins/Actions/Reports/GetEntryPageUrls.php b/plugins/Actions/Reports/GetEntryPageUrls.php
index 05b1102299..dfb3febee6 100644
--- a/plugins/Actions/Reports/GetEntryPageUrls.php
+++ b/plugins/Actions/Reports/GetEntryPageUrls.php
@@ -83,7 +83,7 @@ class GetEntryPageUrls extends Base
public function getRelatedReports()
{
return array(
- new GetEntryPageTitles()
+ self::factory('Actions', 'getEntryPageTitles'),
);
}
}
diff --git a/plugins/Actions/Reports/GetExitPageTitles.php b/plugins/Actions/Reports/GetExitPageTitles.php
index f6d15db0c1..6cc5b1f320 100644
--- a/plugins/Actions/Reports/GetExitPageTitles.php
+++ b/plugins/Actions/Reports/GetExitPageTitles.php
@@ -86,8 +86,8 @@ class GetExitPageTitles extends Base
public function getRelatedReports()
{
return array(
- new GetPageTitles(),
- new GetExitPageUrls()
+ self::factory('Actions', 'getPageTitles'),
+ self::factory('Actions', 'getExitPageUrls'),
);
}
}
diff --git a/plugins/Actions/Reports/GetExitPageUrls.php b/plugins/Actions/Reports/GetExitPageUrls.php
index 2762a1139a..2ef5d7a957 100644
--- a/plugins/Actions/Reports/GetExitPageUrls.php
+++ b/plugins/Actions/Reports/GetExitPageUrls.php
@@ -97,7 +97,7 @@ class GetExitPageUrls extends Base
public function getRelatedReports()
{
return array(
- new GetExitPageTitles()
+ self::factory('Actions', 'getExitPageTitles'),
);
}
diff --git a/plugins/Actions/Reports/GetPageTitles.php b/plugins/Actions/Reports/GetPageTitles.php
index d41082d149..8f7e193f9b 100644
--- a/plugins/Actions/Reports/GetPageTitles.php
+++ b/plugins/Actions/Reports/GetPageTitles.php
@@ -81,8 +81,8 @@ class GetPageTitles extends Base
public function getRelatedReports()
{
return array(
- new GetEntryPageTitles(),
- new GetExitPageTitles()
+ self::factory('Actions', 'getEntryPageTitles'),
+ self::factory('Actions', 'getExitPageTitles'),
);
}
}
diff --git a/plugins/Actions/Reports/GetPageTitlesFollowingSiteSearch.php b/plugins/Actions/Reports/GetPageTitlesFollowingSiteSearch.php
index 620b1af214..657e88211d 100644
--- a/plugins/Actions/Reports/GetPageTitlesFollowingSiteSearch.php
+++ b/plugins/Actions/Reports/GetPageTitlesFollowingSiteSearch.php
@@ -80,7 +80,7 @@ class GetPageTitlesFollowingSiteSearch extends SiteSearchBase
public function getRelatedReports()
{
return array(
- new GetPageUrlsFollowingSiteSearch()
+ self::factory('Actions', 'getPageUrlsFollowingSiteSearch'),
);
}
}
diff --git a/plugins/Actions/Reports/GetPageUrlsFollowingSiteSearch.php b/plugins/Actions/Reports/GetPageUrlsFollowingSiteSearch.php
index 032fdadafc..2d8ba1a3a2 100644
--- a/plugins/Actions/Reports/GetPageUrlsFollowingSiteSearch.php
+++ b/plugins/Actions/Reports/GetPageUrlsFollowingSiteSearch.php
@@ -34,7 +34,7 @@ class GetPageUrlsFollowingSiteSearch extends GetPageTitlesFollowingSiteSearch
public function getRelatedReports()
{
return array(
- new GetPageTitlesFollowingSiteSearch()
+ self::factory('Actions', 'getPageTitlesFollowingSiteSearch'),
);
}
}