开发者

Extend application User_Model with module-specific subclass

In kohana 2.3.4 system load first application, after modules and system. I want to extends User_Model in application with User_Model in modules. How to do that?


Kohana loads:

  1. application
  2. modules
  3. system

I want to extend User_Model in applicati开发者_如何学运维on, with User_Model in modules.


I think that you can't extends user_model (application) with user_model (modules), but you can use another name for your model then extends the user_model.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜