zend modules models

前端 未结 3 1712
深忆病人
深忆病人 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:34

    Configure an autoloader so that the framework can map your class prefix Admin_Model to the corresponding source path. This is not done automatically.

    I suggest reading the part on models of the Zend Framework Quickstart, which explains in detail how to do this.

提交回复
热议问题