https://github.com/thecodingmachine/html.template.menus.topribbonmenu
This package contains a menu that is displayed as a ribbon at the top of the screen. The class is in charge of rendering a 'Menu' instance in HTML using the toHtml() method.
https://github.com/thecodingmachine/html.template.menus.topribbonmenu
Last synced: 3 months ago
JSON representation
This package contains a menu that is displayed as a ribbon at the top of the screen. The class is in charge of rendering a 'Menu' instance in HTML using the toHtml() method.
- Host: GitHub
- URL: https://github.com/thecodingmachine/html.template.menus.topribbonmenu
- Owner: thecodingmachine
- License: mit
- Created: 2012-09-08T15:29:10.000Z (almost 14 years ago)
- Default Branch: 2.0
- Last Pushed: 2012-11-28T13:58:25.000Z (over 13 years ago)
- Last Synced: 2025-02-16T12:30:27.392Z (over 1 year ago)
- Language: PHP
- Size: 113 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
What is this package?
=====================
This package contains a menu renderer to render a menu as a ribbon at the top of the screen.
The renderer is making extensive use of objects declared in the (mouf\html.widgets.menu)[https://github.com/thecodingmachine/html.widgets.menu] package).
Mouf package
------------
This package is part of Mouf (http://mouf-php.com), an effort to ensure good developing practices by providing a graphical dependency injection framework.
Using Mouf's user interface, you can create your menu graphically, by creating instances of Menu and MenuItem.
In practice
-----------
A menu is defined using the Menu class.
The Menu class can contain many MenuItem. Each menuitem can contain many MenuItem.
You pass a Menu instance to the BasicMenuRenderer::toHtml and it will render the menu.