コード例 #1
0
 public function getGallery()
 {
     return $this->hasOne(GalleryImage::className(), ['id' => 'gallery_id']);
 }