예제 #1
0
 /**
  * Get taxonomy.
  *
  * @return \yii\db\ActiveRelation
  */
 public function getTaxonomy()
 {
     return $this->hasOne(Taxonomy::className(), ['id' => 'taxonomy_id']);
 }