Jet\MVC_Controller_Router_AddEditDelete

The Jet\MVC_Controller_Router_AddEditDelete class is only a descendant of the Jet\MVC_Controller_Router class and its only meaning is that it already defines a basic set of actions for adding, editing and deleting an object. In the sample application it is used by the administration modules.

And maybe it will make your job easier too :-) Anyway, this is an example of a possible approach. Are you doing something over and over again? Maybe still similar microroutines? Make a similar descendant. Inheritance is one of the very cool things about OOP :-)

Previous chapter
Jet\MVC_Controller_Router_Action
Next chapter
Router