예제 #1
0
 public function getPhotosArray()
 {
     $photos = GalleryPhoto::find()->where(['gallery_id' => $this->id])->all();
     return $photos;
 }