/** * Get the data */ protected function getData() { $this->file = BackendAgendaModel::getFile($this->id); $this->file['data'] = unserialize($this->record['data']); $this->file['link'] = $this->record['data']['link']; }