Revision #6 has been created by Steve Friedl on Apr 1, 2011, 2:40:42 PM with the memo:
Added a section about Dynamic Attributes
« previous (#5) next (#7) »
Understanding Virtual Attributes and get/set methods
Virtual Attributes; __get; __set
[...]Yii has an intricate system of housekeeping that supports almost anything you wish to accomplish on your own - especially Virtual Attributes - and attempting to circumvent this may provide more smoke than light. It will almost certainly make your application harder to understand.
If you **must** override the magic methods in your own code, be sure to call `parent::___get($attr)` (et al) to give Yii a crack at the attributes in case your code doesn't handle it.
Please treat these methods as highly advanced, only to be used with good reason and careful consideration.