Guide
API
Wiki
Forum
Community
Live Chat
Extensions
Resources
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Report an Issue
Report a Security Issue
Contribute to Yii
About
What is Yii?
Release Cycle
News
License
Team
Official logo
Yii Framework Forum
CActiveDataProvider能不能加条件语句?
International
Chinese
sh-cn-yii
(147895660)
June 24, 2012, 7:07am
1
CActiveDataProvider能不能加条件语句?
比如:id>5 , city=wuhan,之类。
sharehua
(8080268)
June 27, 2012, 8:09am
2
可以,在dataProvider的方法里面添加。
sh-cn-yii
(147895660)
June 27, 2012, 8:33am
3
找到了,谢谢