简体   繁体   中英

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 application, with User_Model in modules.

我认为您不能使用user_model(模块)扩展user_model(应用程序),但是您可以为模型使用其他名称,然后扩展user_model。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM