public function getAttributeNameForColumn($columnName)
    {
        if (!empty($this->mappings)) {
            if (isset($this->mappings[$columnName])) {
                return $this->mappings[$columnName];
            }
        }

        return $columnName;
    }
public function getAttributeNameForColumn($columnName)
    {
        if (!empty($this->mappings)) {
            if (isset($this->mappings[$columnName])) {
                return $this->mappings[$columnName];
            }
        }

        return $columnName;
    }
public function getAttributeNameForColumn ( $ columnName ) { if ( ! empty ( $ this -> mappings ) ) { if ( isset ( $ this -> mappings [ $ columnName ] ) ) { return $ this -> mappings [ $ columnName ] ; } } return $ columnName ; }
Gets the entity attribute name of a given column in a table.

@param string $columnName

@return string
Gets the entity attribute name of a given column in a table .