예제 #1
0
파일: Photos.php 프로젝트: Romario25/porka
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getCatalog()
 {
     return $this->hasOne(PhotoCatalog::className(), ['id' => 'catalog_id']);
 }