hounddog/hd-route-layouts
最新稳定版本:v1.0
Composer 安装命令:
composer require hounddog/hd-route-layouts
包简介
Simple ZF2 module for making route based layouts.
README 文档
README
Introduction
HdRouteLayouts is a very simple module that allows you to attach layout configuration to a route.
Installation
Main Setup
Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.
php composer.phar require hounddog/hd-route-layouts # (When asked for a version, type `0.*`)
Then add HdRouteLayouts to your config/application.config.php
Usage
Using HdRouteLayouts is very, very simple. In any module config or autoloaded config file simply specify the following:
array( 'route_layouts' => array( 'my/route' => 'layout/some-layout', ), );
统计信息
- 总下载量: 1.97k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-11-30