/**
  * Get the data
  *
  * @return void
  */
 private function getData()
 {
     // check for errors
     if ($this->URL->getParameter(1) === null) {
         $this->redirect(FrontendNavigation::getURL(404));
     }
     // get the gallery
     $this->record = FrontendSlideshowModel::getGalleryByURL($this->URL->getParameter(1));
     if (empty($this->record)) {
         $this->redirect(FrontendNavigation::getURL(404));
     }
     // get image data
     $this->slides = FrontendSlideshowModel::getImages($this->record['gallery_id']);
     // get gallery data
     $this->gallery = FrontendSlideshowModel::getGallery($this->record['gallery_id']);
 }