diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-20 03:05:41 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-05-20 03:05:41 +0400 |
commit | b2cb622bf1ea754a73ce06e165a083e3305aa807 (patch) | |
tree | 43bf1134201759cf73b88d53274fa87fdffebd0d /plugins/CustomVariables/Menu.php | |
parent | 009a6f21177e8cb6366577d8f54024e896bb0d8e (diff) |
refs #5192 continued menu refactoring. not sure yet how good this idea is but seems to be already better than before
Diffstat (limited to 'plugins/CustomVariables/Menu.php')
-rw-r--r-- | plugins/CustomVariables/Menu.php | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/CustomVariables/Menu.php b/plugins/CustomVariables/Menu.php new file mode 100644 index 0000000000..161723b57c --- /dev/null +++ b/plugins/CustomVariables/Menu.php @@ -0,0 +1,24 @@ +<?php +/** + * Piwik - Open source web analytics + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + * + */ +namespace Piwik\Plugins\CustomVariables; + +use Piwik\Db; +use Piwik\Menu\MenuReporting; + +/** + */ +class Menu extends \Piwik\Plugin\Menu +{ + + public function confiugreReportingMenu(MenuReporting $menu) + { + $menu->add('General_Visitors', 'CustomVariables_CustomVariables', array('module' => 'CustomVariables', 'action' => 'index'), $display = true, $order = 50); + } + +} |