parameters: (self)
docstring: Perform any searches that were created in the init function.
          Returns a list of SObjects
docstring_summary: Perform any searches that were created in the init function.
          Returns a list of SObjects
docstring_tokens: Perform any searches that were created in the init function . Returns a list of SObjects
function: def do_search(self):
          '''Perform any searches that were created in the init function.
          Returns a list of SObjects'''
          # if no search is defined in this class, then skip this
          if self.search != None:
              # give the opportunity for each of the lower widgets to alter the
              # search
              self.alter_search( self.search )
  
              # actually do the search and notify all of the children
              self.sobjects = self.search.get_sobjects()
  
          # go through each widget and perform their searches
          for widget in self.widgets:
              widget.do_search()
  
  
          # set the sobjects from this search
          # FIXME: this has the effect of overriding any lower searches
          # that may exist.  This is probably not desired behaviour
          # and should be fixed
          if self.search != None:
              self.set_sobjects( self.sobjects, self.search )
function_tokens: def do_search ( self ) : # if no search is defined in this class, then skip this if self . search != None : # give the opportunity for each of the lower widgets to alter the # search self . alter_search ( self . search ) # actually do the search and notify all of the children self . sobjects = self . search . get_sobjects ( ) # go through each widget and perform their searches for widget in self . widgets : widget . do_search ( ) # set the sobjects from this search # FIXME: this has the effect of overriding any lower searches # that may exist.  This is probably not desired behaviour # and should be fixed if self . search != None : self . set_sobjects ( self . sobjects , self . search )