diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-11 07:04:53 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-06-11 07:04:53 +0400 |
commit | 4f2e01d20a8027cf545613d883e4ef22267c1cc1 (patch) | |
tree | f065435c1eed3716d834f30886ceb95140214116 /plugins/Actions/Controller.php | |
parent | fca3bf825184cf0ddc3b9edcac0d90c95802afbf (diff) |
starting to refactor reports into classes, also refactored some more dimensions which is still not 100% working and needs more work
Diffstat (limited to 'plugins/Actions/Controller.php')
-rw-r--r-- | plugins/Actions/Controller.php | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/plugins/Actions/Controller.php b/plugins/Actions/Controller.php index 054eff8287..f5fc875c18 100644 --- a/plugins/Actions/Controller.php +++ b/plugins/Actions/Controller.php @@ -21,27 +21,6 @@ class Controller extends \Piwik\Plugin\Controller // Actions that render whole pages // - 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 indexSiteSearch() { $view = new View('@Actions/indexSiteSearch'); @@ -58,46 +37,6 @@ class Controller extends \Piwik\Plugin\Controller return $view->render(); } - 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__); @@ -122,29 +61,4 @@ class Controller extends \Piwik\Plugin\Controller { 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__); - } } |