diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2015-07-03 03:54:27 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2015-10-06 18:25:13 +0300 |
commit | 9ba8f216fd7856ce5fef06bf82ecb8f8a2e7e630 (patch) | |
tree | 6ce07d18a85d00b39ab720abe042361c0775aead /plugins/Actions/Categories | |
parent | 8ccc9dc05da021325cdbf141a548637fa52f16b2 (diff) |
generate pages instead of implementing them in each controller
Diffstat (limited to 'plugins/Actions/Categories')
-rw-r--r-- | plugins/Actions/Categories/DownloadsSubcategory.php | 19 | ||||
-rw-r--r-- | plugins/Actions/Categories/EntryPagesSubcategory.php | 19 | ||||
-rw-r--r-- | plugins/Actions/Categories/ExitPagesSubcategory.php | 19 | ||||
-rw-r--r-- | plugins/Actions/Categories/OutlinksSubcategory.php | 19 | ||||
-rw-r--r-- | plugins/Actions/Categories/PageTitlesSubcategory.php | 19 | ||||
-rw-r--r-- | plugins/Actions/Categories/PagesSubcategory.php | 19 | ||||
-rw-r--r-- | plugins/Actions/Categories/SiteSearchSubcategory.php | 19 |
7 files changed, 133 insertions, 0 deletions
diff --git a/plugins/Actions/Categories/DownloadsSubcategory.php b/plugins/Actions/Categories/DownloadsSubcategory.php new file mode 100644 index 0000000000..ac432b11d1 --- /dev/null +++ b/plugins/Actions/Categories/DownloadsSubcategory.php @@ -0,0 +1,19 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\Actions\Categories; + +use Piwik\Category\Subcategory; + +class DownloadsSubcategory extends Subcategory +{ + protected $categoryId = 'General_Actions'; + protected $id = 'General_Downloads'; + protected $order = 35; + +} diff --git a/plugins/Actions/Categories/EntryPagesSubcategory.php b/plugins/Actions/Categories/EntryPagesSubcategory.php new file mode 100644 index 0000000000..d4ee657b79 --- /dev/null +++ b/plugins/Actions/Categories/EntryPagesSubcategory.php @@ -0,0 +1,19 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\Actions\Categories; + +use Piwik\Category\Subcategory; + +class EntryPagesSubcategory extends Subcategory +{ + protected $categoryId = 'General_Actions'; + protected $id = 'Actions_SubmenuPagesEntry'; + protected $order = 10; + +} diff --git a/plugins/Actions/Categories/ExitPagesSubcategory.php b/plugins/Actions/Categories/ExitPagesSubcategory.php new file mode 100644 index 0000000000..b1a5a636c6 --- /dev/null +++ b/plugins/Actions/Categories/ExitPagesSubcategory.php @@ -0,0 +1,19 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\Actions\Categories; + +use Piwik\Category\Subcategory; + +class ExitPagesSubcategory extends Subcategory +{ + protected $categoryId = 'General_Actions'; + protected $id = 'Actions_SubmenuPagesExit'; + protected $order = 15; + +} diff --git a/plugins/Actions/Categories/OutlinksSubcategory.php b/plugins/Actions/Categories/OutlinksSubcategory.php new file mode 100644 index 0000000000..975ca9003e --- /dev/null +++ b/plugins/Actions/Categories/OutlinksSubcategory.php @@ -0,0 +1,19 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\Actions\Categories; + +use Piwik\Category\Subcategory; + +class OutlinksSubcategory extends Subcategory +{ + protected $categoryId = 'General_Actions'; + protected $id = 'General_Outlinks'; + protected $order = 30; + +} diff --git a/plugins/Actions/Categories/PageTitlesSubcategory.php b/plugins/Actions/Categories/PageTitlesSubcategory.php new file mode 100644 index 0000000000..1a88b6dbd2 --- /dev/null +++ b/plugins/Actions/Categories/PageTitlesSubcategory.php @@ -0,0 +1,19 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\Actions\Categories; + +use Piwik\Category\Subcategory; + +class PageTitlesSubcategory extends Subcategory +{ + protected $categoryId = 'General_Actions'; + protected $id = 'Actions_SubmenuPageTitles'; + protected $order = 20; + +} diff --git a/plugins/Actions/Categories/PagesSubcategory.php b/plugins/Actions/Categories/PagesSubcategory.php new file mode 100644 index 0000000000..5d407859b1 --- /dev/null +++ b/plugins/Actions/Categories/PagesSubcategory.php @@ -0,0 +1,19 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\Actions\Categories; + +use Piwik\Category\Subcategory; + +class PagesSubcategory extends Subcategory +{ + protected $categoryId = 'General_Actions'; + protected $id = 'General_Pages'; + protected $order = 5; + +} diff --git a/plugins/Actions/Categories/SiteSearchSubcategory.php b/plugins/Actions/Categories/SiteSearchSubcategory.php new file mode 100644 index 0000000000..e915803679 --- /dev/null +++ b/plugins/Actions/Categories/SiteSearchSubcategory.php @@ -0,0 +1,19 @@ +<?php +/** + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\Actions\Categories; + +use Piwik\Category\Subcategory; + +class SiteSearchSubcategory extends Subcategory +{ + protected $categoryId = 'General_Actions'; + protected $id = 'Actions_SubmenuSitesearch'; + protected $order = 25; + +} |