[ Index ]

PHP Cross Reference of DokuWiki




/inc/Menu/ -> MobileMenu.php (summary)

(no description)

File Size: 95 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

MobileMenu:: (3 methods):

Class: MobileMenu  - X-Ref

Class MobileMenu

Note: this does not inherit from AbstractMenu because it is not working like the other
menus. This is a meta menu, aggregating the items from the other menus and offering a combined
view. The idea is to use this on mobile devices, thus the context is fixed to CTX_MOBILE
getGroupedItems()   X-Ref
Returns all items grouped by view

return: AbstractItem[][]

getItems()   X-Ref
Get all items in a flat array

This returns the same format as AbstractMenu::getItems()

return: AbstractItem[]

getDropdown($empty = '', $button = '>')   X-Ref
Print a dropdown menu with all DokuWiki actions

Note: this will not use any pretty URLs

return: string
param: string $empty empty option label
param: string $button submit button label