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

ZF 表模型创建有关问题

WBOY
Release: 2016-06-13 12:41:29
Original
860 people have browsed it

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

<br />
class IndentdetailModel extends Zend_Db_Table{<br />
	protected $_name="indentdetail";<br />
	protected $_primary="indentnumber";<br />
	<br />
Copy after login

表的构造:

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template