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
Donate
About
What is Yii?
Release Cycle
News
License
Team
Official Logos and Design
Login
Yii Framework Wiki
Write
new article
Categories
All
Tips
342
How-tos
445
Tutorials
289
FAQs
45
Others
56
Popular Tags
All
yii2
90
CGridView
69
AJAX
57
Yii
48
tutorial
39
model
31
i18n
30
authentication
28
security
26
database
24
Recent Comments
vivian77
on
Yii2 GridView Sorting and Searching with a Junction Table Column(Many to Many Relationship)
4 days ago
E.Alamo
on
PHP built-in server integration
a month ago
coderevolts
on
Implementing cron jobs with Yii
2 months ago
Néstor Acevedo
on
Filter & Sort by calculated/related fields in GridView Yii 2.0
5 months ago
Kamil Pomykała
on
JWT authentication tutorial
11 months ago
Accessing data in a join table with the related models
- History
Total
4
items.
#
Memo
Updater
Updated At
Actions
8
Fixed a few typos with the sample simple MANY_MANY relation.
krowe
Nov 13, 2012, 5:06:56 PM
view diff
revert to
7
Changing "moviesJoin" to "watched" since "moviesJoin" is not defined anywhere, making the script not work.
erikj
Jul 15, 2012, 12:39:42 PM
view diff
revert to
6
formatting
fsb
Mar 18, 2012, 6:55:01 PM
view diff
revert to
5
added the () to varios examples of: ClassName::model()->etc...
fsb
Mar 18, 2012, 6:51:44 PM
view diff
revert to
Select exactly two versions for comparison.
Compare Versions
16
1
30
followers
Viewed:
147 707 times
Version:
1.1
Category:
How-tos
Tags:
active record
,
join table
,
many_many
,
relations
Written by:
fsb
Last updated by:
krowe
Created on:
Dec 5, 2011
Last updated:
12 years ago
Update Article
Revisions
View all history
12 years ago
by
krowe
Fixed a few typos with the sample simple...
12 years ago
by
erikj
Changing "moviesJoin" to "watched" since...
12 years ago
by
fsb
formatting
12 years ago
by
fsb
added the () to varios examples of: Clas...