Heim  >  Artikel  >  Backend-Entwicklung  >  thinkPHP联系关系模型中condition属性

thinkPHP联系关系模型中condition属性

WBOY
WBOYOriginal
2016-06-13 10:34:031392Durchsuche

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

XML code
<!--Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->关联查询的时候会自动带上外键的值,如果有额外的查询条件,可以通过定义关联的condition属性。

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

------解决方案--------------------
我速度的来了
------解决方案--------------------
4楼你是什么都不会吗?那个页面都有你,答案无关风月。
------解决方案--------------------
来个人接分啊~~~速度了~~
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn