In my zf application I have 3 modules:
- applicant
- company
- admin
And, in my application.ini I've picked a default module
resources.frontController.defaultModule = "applicant"
So, some of controllers classes are named like:
class IndexController extends Zend_Controller_Action /* in Applicant Module */
class Company_IndexController extends Zend_Controller_Action
class Admin_IndexController extends Zend_Controller_Action
Since applicant is my default module, I don't need to use module name as prefix in class name.
How can I use the prefixed way to name classes in my default module?
I want to use these class names
class Applicant_IndexController extends Zend_Controller_Action
class Company_IndexController extends Zend_Controller_Action
class Admin_IndexController extends Zend_Controller_Action
but I'm getting this error:
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in ZendFramework-1.11.6/library/Zend/Controller/Dispatcher/Standard.php on line 248