zend modules models

前端 未结 3 1706
深忆病人
深忆病人 2020-12-21 13:22

My application setup with 2 modules admin and default I test the controller which works fine on modules

but the models doesnt work

I created a model applica

3条回答
  •  失恋的感觉
    2020-12-21 13:22

    Are you using an autoloader?

    If you do you should change the class name (or path) to reflect the path (or class name)

    Models <> Model

    You should have

    Admin_Model_User in admin/model/user.php

    or

    Admin_Models_User in admin/models/user.php.

提交回复
热议问题