mouf/html.template.menus.basicmenu
最新稳定版本:v2.1.0
Composer 安装命令:
composer require mouf/html.template.menus.basicmenu
包简介
This package contains a single class in charge of rendering a 'Menu' instance in HTML using the toHtml() method. The rendering is performed using <ul> and <li> tags.
关键字:
README 文档
README
This package contains a basic renderer to render in HTML a menu (using <ul> and <li> tags). 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.
统计信息
- 总下载量: 144.26k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-10-16