Calling member function of other controller in zend framework?

前端 未结 3 1063
挽巷
挽巷 2020-12-08 07:32

Is it possible to call the member function of another controller in zend framework, if yes then how?



        
3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-08 08:15

    You should consider factoring out the code into either an action helper or to your model so that it can be called from both controllers that need it.

    Regards,

    Rob...

提交回复
热议问题