2008年11月6日星期四

[fw-mvc] Default controller = ModulenameController.php

I was wondering if it would be possible to make the name of the default
controller be the same as the module's name.

For instance:
/application/thismodule/controllers/ThisModuleController.php would be the
default controller for the module "thismodule."

I have tried using setDefaultControllerName() but I can't seem to get the
module name using the Request object before the route is seemingly finished.

Any ideas?
--
View this message in context: http://www.nabble.com/Default-controller-%3D-ModulenameController.php-tp20365544p20365544.html
Sent from the Zend MVC mailing list archive at Nabble.com.

没有评论: