public static function fieldToColumnName($field)
    {
        $model_name = get_class(new static());
        if (property_exists($model_name, 'graph_node_field_aliases')
            && isset(static::$graph_node_field_aliases[$field])) {
            return static::$graph_node_field_aliases[$field];
        }

        return $field;
    }
public static function fieldToColumnName($field)
    {
        $model_name = get_class(new static());
        if (property_exists($model_name, 'graph_node_field_aliases')
            && isset(static::$graph_node_field_aliases[$field])) {
            return static::$graph_node_field_aliases[$field];
        }

        return $field;
    }
public static function fieldToColumnName ( $ field ) { $ model_name = get_class ( new static ( ) ) ; if ( property_exists ( $ model_name , 'graph_node_field_aliases' ) && isset ( static :: $ graph_node_field_aliases [ $ field ] ) ) { return static :: $ graph_node_field_aliases [ $ field ] ; } return $ field ; }
Convert a Graph node field name to a database column name

@param string $field

@return string
Convert a Graph node field name to a database column name