Пример #1
0
 /**
  * @return \yii\db\ActiveQuery
  */
 public function getGalleryType()
 {
     return $this->hasOne(GalleryTypes::className(), ['id' => 'gallery_types_id']);
 }