thinkPHP关联模型中condition属性
刚看thinkPHP不久有个问题想问下,在thinkPHP关联模型有个condition 关联条件
API上说
- XML code
<!---ecms Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->关联查询的时候会自动带上外键的值,如果有额外的查询条件,可以通过定义关联的condition属性<em>8本文来源gao.dai.ma.com搞@代*码(网$</em><pre>搞代gaodaima码
。
我想知道这个属性可不可以动态改变 关联条件?
——解决方案——————–
我速度的来了
——解决方案——————–
4楼你是什么都不会吗?那个页面都有你,答案无关风月。
——解决方案——————–
来个人接分啊~~~速度了~~