/** * Get the data for a question * * @return void */ private function getData() { // get the record $this->record = BackendSlideshowModel::getGallery($this->id); $this->settings = BackendSlideshowModel::getAllSettings($this->id); // get categories $this->categories = BackendSlideshowModel::getCategoriesForDropdown(); }