Exemplo n.º 1
0
 public function DeleteMedia()
 {
     $dataSetId = $this->GetOption('datasetid');
     Kit::ClassLoader('dataset');
     $dataSet = new DataSet($this->db);
     $dataSet->UnlinkLayout($dataSetId, $this->layoutid, $this->regionid, $this->mediaid);
     return parent::DeleteMedia();
 }
Exemplo n.º 2
0
 public function DeleteMedia()
 {
     $dataSetId = $this->GetOption('datasetid');
     Debug::LogEntry('audit', sprintf('Deleting Media with DataSetId %d', $dataSetId), 'datasetview', 'DeleteMedia');
     Kit::ClassLoader('dataset');
     $dataSet = new DataSet($this->db);
     $dataSet->UnlinkLayout($dataSetId, $this->layoutid, $this->regionid, $this->mediaid);
     return parent::DeleteMedia();
 }