Demos · Guide · Class Reference · Wiki · Extensions · Forum · Live Chat · Login
Yii Logo
  • 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 Accessing data in a join table with the related models

  Revision Author Time
#8 - Fixed a few typos with the sample simple MANY_MANY relation. krowe 2012/11/13 12:06pm
#7 - Changing "moviesJoin" to "watched" since "moviesJoin" is not defined anywhere, making the script not work. erikj 2012/07/15 08:39am
#6 - formatting fsb 2012/03/18 02:55pm
#5 - added the () to varios examples of: ClassName::model()->etc... fsb 2012/03/18 02:51pm
Write new article
Search Wiki
  • View current article
  • Update this article
  • View history
  • View revision
  • Written by: fsb
  • Updated by: krowe
  • Category: How-tos
  • Votes: +18 / -1
  • Viewed: 36,213 times
  • Created on: Dec 5, 2011
  • Last updated: Nov 13, 2012
  • Tags: relations, active record, many_many, join table
Related Articles
  • Relations: BELONGS_TO versus HAS_ONE
  • Using sub query for doubletts
  • Single table inheritance
  • Extending an ActiveRecord model
  • Displaying, sorting and filtering HasMany & ManyMany relations in CGridView
  • 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
 

Yii Supporters

  • The Ext4Yii Framework is a professional PHP Yii extension which provides server-side ExtJS functionality.
  • Twitter
  • Facebook
  • LinkedIn
  • RSS Feeds
Terms of Service | License | Contact Us
Copyright © 2013 by Yii Software LLC. All Rights Reserved.