protected function getFieldNameForDisplay($details)
    {
        $tableUniqueId = $details['TABLE_SCHEMA'] . '.' . $details['TABLE_NAME'];
        if ($details['COLUMN_COMMENT'] != '') {
            return $details['COLUMN_COMMENT'];
        } elseif (isset($this->advCache['tableStructureLocales'][$tableUniqueId][$details['COLUMN_NAME']])) {
            return $this->advCache['tableStructureLocales'][$tableUniqueId][$details['COLUMN_NAME']];
        }
        return $details['COLUMN_NAME'];
    }
protected function getFieldNameForDisplay($details)
    {
        $tableUniqueId = $details['TABLE_SCHEMA'] . '.' . $details['TABLE_NAME'];
        if ($details['COLUMN_COMMENT'] != '') {
            return $details['COLUMN_COMMENT'];
        } elseif (isset($this->advCache['tableStructureLocales'][$tableUniqueId][$details['COLUMN_NAME']])) {
            return $this->advCache['tableStructureLocales'][$tableUniqueId][$details['COLUMN_NAME']];
        }
        return $details['COLUMN_NAME'];
    }
protected function getFieldNameForDisplay ( $ details ) { $ tableUniqueId = $ details [ 'TABLE_SCHEMA' ] . '.' . $ details [ 'TABLE_NAME' ] ; if ( $ details [ 'COLUMN_COMMENT' ] != '' ) { return $ details [ 'COLUMN_COMMENT' ] ; } elseif ( isset ( $ this -> advCache [ 'tableStructureLocales' ] [ $ tableUniqueId ] [ $ details [ 'COLUMN_NAME' ] ] ) ) { return $ this -> advCache [ 'tableStructureLocales' ] [ $ tableUniqueId ] [ $ details [ 'COLUMN_NAME' ] ] ; } return $ details [ 'COLUMN_NAME' ] ; }
Returns the name of a field for displaying

@param array $details
@return string
Returns the name of a field for displaying