public function isEnableColumn($table, $columnName)
    {
        return (
            isset($GLOBALS['TCA'][$table]['ctrl']['enablecolumns']) &&
            array_key_exists($columnName, $GLOBALS['TCA'][$table]['ctrl']['enablecolumns'])
        );
    }
public function isEnableColumn($table, $columnName)
    {
        return (
            isset($GLOBALS['TCA'][$table]['ctrl']['enablecolumns']) &&
            array_key_exists($columnName, $GLOBALS['TCA'][$table]['ctrl']['enablecolumns'])
        );
    }
public function isEnableColumn ( $ table , $ columnName ) { return ( isset ( $ GLOBALS [ 'TCA' ] [ $ table ] [ 'ctrl' ] [ 'enablecolumns' ] ) && array_key_exists ( $ columnName , $ GLOBALS [ 'TCA' ] [ $ table ] [ 'ctrl' ] [ 'enablecolumns' ] ) ) ; }
This method can be used to check if there is a configured key in

$GLOBALS['TCA']['mytable']['ctrl']['enablecolumns']

Example:

$GLOBALS['TCA']['mytable']]['ctrl']['enablecolumns']['fe_group'] = 'mygroupfield'

->isEnableColumn('mytable', 'fe_group') will return true, because 'mygroupfield' is
configured as column.

@params string $table
@param string $columnName
@return bool
This method can be used to check if there is a configured key in