mouf/html.widgets.menu
最新稳定版本:v4.0.0
Composer 安装命令:
composer require mouf/html.widgets.menu
包简介
This package contains objects describing a menu of an application. The menu is described, but this package does not render the menu in any way. You will have to use another package to render the menu in HTML. Usually, templates will provide their own menu renderers.
关键字:
README 文档
README
This package contains base objects and interfaces to describe menus and menu items. Basically, using interfaces and objects of this package, you can describe a menu.
Menus are rendered using Mouf's rendering system.
Using the rendering system, other packages, or templates, or your project can override the HTML of the menu.
In practice
A menu is defined using the Menu class.
The Menu class can contain many MenuItem. Each menu item can contain many children MenuItem.
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.
统计信息
- 总下载量: 240.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 3
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-10-16