/** * Get the data */ protected function getData() { $this->product = BackendCatalogModel::get($this->getParameter('product_id', 'int')); $this->image = BackendCatalogModel::getImage($this->getParameter('id', 'int')); $this->image['data'] = unserialize($this->record['data']); $this->image['link'] = $this->record['data']['link']; }