コード例 #1
0
 /**
  * Funkce pro smazání datového sloupce z datasource
  * @param int $datasource
  * @param int $column
  */
 function deleteDatasourceColumn($datasource, $column)
 {
     if ($this->datasourcesFacade->deleteDatasourceColumn($datasource, $column)) {
         $this->flashMessage($this->translate('Data field successfully removed.'));
     } else {
         $this->flashMessage($this->translate('Error occured while removing of data field.'));
     }
     $this->redirect('mapping', array('datasource' => $datasource));
 }