I am developing an application with the Zend Frameworks.
I currently have the Controller admin, which has its appropriate actions
I have the action “Users”, and and I would like to be able to make this its own controller, so all the relevant actions are under their own class
Admin {
Users {
Add
Delete
Import
}
}
Restructure your code using modules.
Adminshould become a module. Inside the Admin module you should have the controller Users. This controller has the actions add, delete and import.