A very simple ZF2 module for making module-specific layouts insanely easy.
PHP
Latest commit 1e8947a Aug 19, 2013 @EvanDotPro Merge pull request #3 from psychowico/master
AbstractRestfulController support added
Permalink
Failed to load latest commit information.
LICENSE Create LICENSE Jul 25, 2013
Module.php Generalize controllers to abstract one Jul 8, 2013
README.md Update readme to 1.0 Sep 14, 2012
composer.json Add composer.json Sep 14, 2012

README.md

EdpModuleLayouts

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!