protected function getDataTablesColumn(DataTablesProviderInterface $dtProvider, $data) {

        $this->getLogger()->debug(sprintf("DataTables controller search for a column with name \"%s\"", $data));

        $dtColumn = $this->getDataTablesWrapper($dtProvider)->getColumn($data);
        if (null === $dtColumn) {
            throw new BadDataTablesColumnException($data);
        }

        $this->getLogger()->debug(sprintf("DataTables controller found a column with name \"%s\"", $data));

        return $dtColumn;
    }
protected function getDataTablesColumn(DataTablesProviderInterface $dtProvider, $data) {

        $this->getLogger()->debug(sprintf("DataTables controller search for a column with name \"%s\"", $data));

        $dtColumn = $this->getDataTablesWrapper($dtProvider)->getColumn($data);
        if (null === $dtColumn) {
            throw new BadDataTablesColumnException($data);
        }

        $this->getLogger()->debug(sprintf("DataTables controller found a column with name \"%s\"", $data));

        return $dtColumn;
    }
protected function getDataTablesColumn ( DataTablesProviderInterface $ dtProvider , $ data ) { $ this -> getLogger ( ) -> debug ( sprintf ( "DataTables controller search for a column with name \"%s\"" , $ data ) ) ; $ dtColumn = $ this -> getDataTablesWrapper ( $ dtProvider ) -> getColumn ( $ data ) ; if ( null === $ dtColumn ) { throw new BadDataTablesColumnException ( $ data ) ; } $ this -> getLogger ( ) -> debug ( sprintf ( "DataTables controller found a column with name \"%s\"" , $ data ) ) ; return $ dtColumn ; }
Get a column.

@param DataTablesProviderInterface $dtProvider The provider.
@param string $data The data.
@return DataTablesColumnInterface Returns the column.
@throws BadDataTablesColumnException Throws a bad column exception.
Get a column .