Custom Layout

I’ve created a module for our application and would like help on how and in what file (I assume the main module file: MyModule.php) to set for a custom layout for the module rather than the default main.php used by the rest of the application, eg. I’d like to use mylayout.php instead, but only for the module.

Just add this class member to MyModule.php class and then change the name.


	 * default Public layout


	 * @var unknown_type


	public $layout = 'main';

Thanks! I knew it was gonna be real simple.