/** * @return \yii\db\ActiveQuery */ public function getCollectionCollections0() { return $this->hasMany(CollectionCollection::className(), ['parent_collection_id' => 'id']); }
/** * @return \yii\db\ActiveQuery */ public function getCollectionCollections() { return $this->hasMany(CollectionCollection::className(), ['member_type_id' => 'id']); }