PHP Class Piwik\Menu\MenuTop
Plugins can implement the
configureTopMenu() method of the
Menu plugin class to add, rename of remove
items. If your plugin does not have a
Menu class yet you can create one using
./console generate:menu.
Mostra file
Open project: piwik/piwik
Class Usage Examples
Public Methods
Method |
Description |
|
addHtml ( string $menuName, string $data, boolean $displayedForCurrentUser, integer $order, string $tooltip ) |
Directly adds a menu entry containing html. |
|
getMenu ( ) : Array |
Triggers the Menu.Top.addItems hook and returns the menu. |
|
Method Details
Directly adds a menu entry containing html.