Anyone knows, why yii do not use static for functions like find() in CActiveRecord
Anyone knows, why yii do not use static for functions like find() in CActiveRecord
I think this is because with static method you cannot have method chaining.
If find() was static, you could not do like this -
Post::model()->recent()->with(‘author:active’)->find();