$pagemenu->getItems(), 'site' => $sitemenu->getItems(), 'user' => $usermenu->getItems() ); } /** * Get all items in a flat array * * This returns the same format as AbstractMenu::getItems() * * @return AbstractItem[] */ public function getItems() { $menu = $this->getGroupedItems(); return call_user_func_array('array_merge', array_values($menu)); } /** * Print a dropdown menu with all DokuWiki actions * * Note: this will not use any pretty URLs * * @param string $empty empty option label * @param string $button submit button label * @return string */ public function getDropdown($empty = '', $button = '>') { global $ID; global $REV; /** @var string[] $lang */ global $lang; global $INPUT; $html = '
'; return $html; } }