Lines Matching defs:menu
23 protected $menu;
32 $this->menu = $this->getPluginList();
45 * Show the given menu of available plugins
51 if (!$this->menu[$type]) return;
61 foreach ($this->menu[$type] as $item) {
100 * Display a single Admin menu item
132 $menu = ['admin' => [], 'manager' => [], 'other' => []];
150 $menu[$type][$p] = [
159 uasort($menu['admin'], [$this, 'menuSort']);
160 uasort($menu['manager'], [$this, 'menuSort']);
161 uasort($menu['other'], [$this, 'menuSort']);
163 return $menu;
167 * Custom sorting for admin menu