public static function getColumnName($field)
    {
        static::init();
        if (!static::fieldExists($field)) {
            throw new Exception('getColumnName called on nonexisting column: ' . get_called_class().'->'.$field);
        }

        return static::$_classFields[get_called_class()][$field]['columnName'];
    }
public static function getColumnName($field)
    {
        static::init();
        if (!static::fieldExists($field)) {
            throw new Exception('getColumnName called on nonexisting column: ' . get_called_class().'->'.$field);
        }

        return static::$_classFields[get_called_class()][$field]['columnName'];
    }
public static function getColumnName ( $ field ) { static :: init ( ) ; if ( ! static :: fieldExists ( $ field ) ) { throw new Exception ( 'getColumnName called on nonexisting column: ' . get_called_class ( ) . '->' . $ field ) ; } return static :: $ _classFields [ get_called_class ( ) ] [ $ field ] [ 'columnName' ] ; }
Returns columnName for given field
@param string $field name of field
@return string column name
Returns columnName for given field