evandotpro/edp-module-layouts

There is no license information available for the latest version (v1.0) of this package.

EdpModuleLayouts is very simple ZF2 module for making module-specific layouts insanely easy.

v1.0 2012-09-14 01:32 UTC

This package is not auto-updated.

Last update: 2024-11-09 14:21:27 UTC


README

Version 1.0 Created by Evan Coury

Introduction

EdpModuleLayouts is a very simple ZF2 module (less than 20 lines) that simply allows you to specify alternative layouts to use for each module.

Usage

Using EdpModuleLayouts is very, very simple. In any module config or autoloaded config file simply specify the following:

array(
    'module_layouts' => array(
        'ModuleName' => 'layout/some-layout',
    ),
);

That's it!