Generator relationships Yii