开发者

MVC model and SQL table name are the same

开发者_JAVA百科My model is called Application_Model_Poll. Zend is forcing me name my database table the same as the model. Is there anyway I can just call the table Poll?


class Application_Model_DbTable_Poll extends Zend_Db_Table_Abstract
{
    protected $_name = 'Poll';
}
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜