예제 #1
0
 /**
  * Get the data
  */
 protected function getData()
 {
     $this->product = BackendCatalogModel::get($this->getParameter('product_id', 'int'));
     $this->file = BackendCatalogModel::getFile($this->getParameter('id', 'int'));
     $this->file['data'] = unserialize($this->record['data']);
     $this->file['link'] = $this->record['data']['link'];
 }