app/controllers/anoubis/data/defaults.rb
##
# Get array of field's identifiers in desired order. By default it's current defined order of all fields.
Get array of field's identifiers in desired order. By default it's current defined order of all fields.
Get array of field ' s identifiers in desired order . By default it ' s current defined order of all fields .
def fields_order
        result = []
        self.etc.data.fields.each_key do |key|
          result.push key.to_s
        end
        result
      end
def fields_order result = [ ] self . etc . data . fields . each_key do | key | result . push key . to_s end result end
Get array of field's identifiers in desired order.
Get array of field ' s identifiers in desired order .