/** * Get the data * * @return void */ private function getData() { $this->record = BackendGalleriaModel::getAlbumFromId($this->id); //--Get the images $this->images = BackendGalleriaModel::getImagesForAlbum($this->id); }