thinkPHP联系关系模型中condition属性

WBOY
Release: 2016-06-13 13:21:25
Original
951 people have browsed it

thinkPHP关联模型中condition属性
刚看thinkPHP不久有个问题想问下,在thinkPHP关联模型有个condition 关联条件 
API上说

XML code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->关联查询的时候会自动带上外键的值,如果有额外的查询条件,可以通过定义关联的condition属性。
Copy after login

我想知道这个属性可不可以动态改变 关联条件?

------解决方案--------------------
我速度的来了
------解决方案--------------------
4楼你是什么都不会吗?那个页面都有你,答案无关风月。
------解决方案--------------------
来个人接分啊~~~速度了~~
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