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
精彩评论