app/controllers/anoubis/etc/filter.rb
##
# Initializes where parameters for filed with type string.
# @param key [Symbol] Filed identifier
# @param value [String] Filter parameters
Initializes where parameters for filed with type string.
Initializes where parameters for filed with type string .
def init_data_string(key, value)
        words = value.split(' ')
        words.each do |word|
          self.attach_to_array self.fields[key].table_field.to_s+' LIKE ?'
          self.array.push("%#{word}%")
        end
      end
def init_data_string ( key , value ) words = value . split ( ' ' ) words . each do | word | self . attach_to_array self . fields [ key ] . table_field . to_s + ' LIKE ?' self . array . push ( "%#{word}%" ) end end
Initializes where parameters for filed with type string.
Initializes where parameters for filed with type string .
key
None
value
None