Method: ExtNode#find_field_elements

Defined in:
lib/extjsml/basenode.rb

#find_field_elementsObject



107
108
109
110
111
112
113
114
115
116
117
118
119
120
# File 'lib/extjsml/basenode.rb', line 107

def find_field_elements
  element = []
  if self.childs.count > 0
    childs.each do |c|
      if c.is_field_element?
        element << c
      else
        element += c.find_field_elements
      end
    end
  end

  element
end