开发者

Zend_Tool - Can we use it to create a model inside a specific directory?

Inside 'models' directory I've created another called 'mappers'.

开发者_Go百科

I wish to add a mapper there, however I can't find anywhere how to accomplish this with the zend_tool cli.

Does anyone know how to do it, or even if it's possible ?


I think mapper isn't a registered name in zend tool like dbtable or form.

So you should simply create another model in model directory and move it to your mapper directory. Don't forget to rename the class to something like

MyModule_Model_Mapper_MyMapper
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜