Sylvain Philip wrote:

> Yes, it's a good idea to extend NewsController with NewsAdminController
> but it doesn't solve the problem about AdminController (it have to
> instantiate other objects to the View ). The ideal should be to extend
> two classes but it's an impossible PHP construction:

I'm using something along these lines:


                    Zend_Controller_Action
                              |
                    ---------------------------
                   |                           |
            Controller_Action         Controller_AdminAction
                   |                           |
            NewsController               AdminNewsController



So far, I haven't found a need to extend AdminNewsController from
NewsController.


Regards

Rob...

Reply via email to