Classes/Helper/DcaHelper.php
public function cbGetFields($dc)
    {
        $data   = array();
        $table  = $dc->activeRecord->srctable;
        $db     = Database::getInstance();

        if ($table) {
            System::loadLanguageFile($table);
            $fields = $db->listFields($table);

            if (is_array($fields) && count($fields)) {
                foreach ($fields as $field) {
                    if ($field['name'] != 'PRIMARY') {
                        if (isset($GLOBALS['TL_LANG'][$table][$field['name']][0])) {
                            $label                  = $GLOBALS['TL_LANG'][$table][$field['name']][0];
                            $label                 .= ' [' . $field['name'] . ']';
                            $data[$field['name']]   = $label;
                        } else {
                            $data[$field['name']] = $field['name'];
                        }
                    }
                }
            }
        }

        return $data;
    }
public function cbGetFields($dc)
    {
        $data   = array();
        $table  = $dc->activeRecord->srctable;
        $db     = Database::getInstance();

        if ($table) {
            System::loadLanguageFile($table);
            $fields = $db->listFields($table);

            if (is_array($fields) && count($fields)) {
                foreach ($fields as $field) {
                    if ($field['name'] != 'PRIMARY') {
                        if (isset($GLOBALS['TL_LANG'][$table][$field['name']][0])) {
                            $label                  = $GLOBALS['TL_LANG'][$table][$field['name']][0];
                            $label                 .= ' [' . $field['name'] . ']';
                            $data[$field['name']]   = $label;
                        } else {
                            $data[$field['name']] = $field['name'];
                        }
                    }
                }
            }
        }

        return $data;
    }
options_callback: Gibt eine Liste der Felder einer Tabelle zurück.
@param $dc
@return array