Demos
·
Guide
·
Class Reference
·
Wiki
·
Extensions
·
Forum
·
Live Chat
·
Login
About
About Yii
Features
Performance
License
Contact Us
Downloads
Framework
Extensions
Demos
Logo
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Development
Contribute to Yii
Latest Updates
Report a Bug
Report a Security Issue
Community
Forum
Live Chat
News
Hall of Fame
Badges
search
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Revision History of
Drills : Search by a HAS_MANY relation
Revision
Author
Time
#13 - explanation modified
softark
2013/03/03 05:37am
#12 - Use dedicated relation for searching ... Fine!
softark
2013/03/02 02:04pm
Write new article
Search Wiki
View current article
Update this article
View history
View revision
Written by
:
softark
Category
:
Tutorials
Votes
:
+20
Viewed
: 8,882 times
Created on
: Dec 6, 2012
Last updated
: Mar 3, 2013
Tags
:
has_many
,
search
,
CActiveRecord
Related Articles
Adding search to Yii blog example (using Zend Lucene)
Instantiate a child class that depends a type field from parent model class (CActiveRecord)
Adding a date range search for CGridView the easy way
Filter / Search with CListView
1:n relations sometimes require CDbCriteria.together