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
Instantiate a child class that depends a type field from parent model class (CActiveRecord)
Revision
Author
Time
#5 - Fixing small typo in condition
robregonm
2012/10/30 09:45am
#4 - Added link for spanish version
robregonm
2012/10/29 03:49pm
Write new article
Search Wiki
View current article
Update this article
View history
View revision
Written by
:
robregonm
Category
:
How-tos
Votes
:
+3
Viewed
: 3,010 times
Created on
: Oct 29, 2012
Last updated
: Oct 30, 2012
Tags
:
activerecord
,
CActiveRecord
,
factory
,
instance of child model
,
active
Related Articles
Accessing data in a join table with the related models
Using sub query for doubletts
Radio Button List with enum values for column of type ENUM >+> incorporate into giix
Using counters with ActiveRecord
Searching and sorting by related model in CGridView