Home  >  Article  >  Backend Development  >  ZF 表模型创建有关问题

ZF 表模型创建有关问题

WBOY
WBOYOriginal
2016-06-13 11:30:19659browse

ZF 表模型创建问题 在线等
求助啊  在ZF框架中 建立表模型 可是表的主键有两个(是组合键) 在表模型中改怎么写啊 ???????


class IndentdetailModel extends Zend_Db_Table{
protected $_name="indentdetail";
protected $_primary="indentnumber";


表的构造:

这样的表对应的表模型该怎么创建啊 主要是protected $_primary=??这里不懂

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn