diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-12 08:18:41 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-12 08:18:41 +0400 |
commit | 83d0378998ad19fbc45f12b787c78de94866dc00 (patch) | |
tree | 2c70cb60c34d0ab02e80af2e5b49faa5b9e7c224 /plugins/Actions/Controller.php | |
parent | 0a2d41fa50cc6b8d346a5412e65b8d4f020f7d43 (diff) |
we need to leave the controller code there for backwards compatibility. Many people might link directly to this url in their widgets. Will have a look at this later again
Diffstat (limited to 'plugins/Actions/Controller.php')
-rw-r--r-- | plugins/Actions/Controller.php | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/plugins/Actions/Controller.php b/plugins/Actions/Controller.php index 4f7b2a0a1f..ecc0af605f 100644 --- a/plugins/Actions/Controller.php +++ b/plugins/Actions/Controller.php @@ -46,4 +46,115 @@ class Controller extends \Piwik\Plugin\Controller return $view->render(); } + public function indexPageUrls() + { + return View::singleReport( + Piwik::translate('General_Pages'), + $this->getPageUrls(true)); + } + + public function indexEntryPageUrls() + { + return View::singleReport( + Piwik::translate('Actions_SubmenuPagesEntry'), + $this->getEntryPageUrls(true)); + } + + public function indexExitPageUrls() + { + return View::singleReport( + Piwik::translate('Actions_SubmenuPagesExit'), + $this->getExitPageUrls(true)); + } + + public function indexPageTitles() + { + return View::singleReport( + Piwik::translate('Actions_SubmenuPageTitles'), + $this->getPageTitles(true)); + } + + public function indexDownloads() + { + return View::singleReport( + Piwik::translate('General_Downloads'), + $this->getDownloads(true)); + } + + public function indexOutlinks() + { + return View::singleReport( + Piwik::translate('General_Outlinks'), + $this->getOutlinks(true)); + } + + // + // Actions that render individual reports + // + + public function getPageUrls() + { + return $this->renderReport(__FUNCTION__); + } + + public function getEntryPageUrls() + { + return $this->renderReport(__FUNCTION__); + } + + public function getExitPageUrls() + { + return $this->renderReport(__FUNCTION__); + } + + public function getSiteSearchKeywords() + { + return $this->renderReport(__FUNCTION__); + } + + public function getSiteSearchNoResultKeywords() + { + return $this->renderReport(__FUNCTION__); + } + + public function getSiteSearchCategories() + { + return $this->renderReport(__FUNCTION__); + } + + public function getPageUrlsFollowingSiteSearch() + { + return $this->renderReport(__FUNCTION__); + } + + public function getPageTitlesFollowingSiteSearch() + { + return $this->renderReport(__FUNCTION__); + } + + public function getPageTitles() + { + return $this->renderReport(__FUNCTION__); + } + + public function getEntryPageTitles() + { + return $this->renderReport(__FUNCTION__); + } + + public function getExitPageTitles() + { + return $this->renderReport(__FUNCTION__); + } + + public function getDownloads() + { + return $this->renderReport(__FUNCTION__); + } + + public function getOutlinks() + { + return $this->renderReport(__FUNCTION__); + } + } |