parameters: (self)
docstring: gets the default base that this view is based on
docstring_summary: gets the default base that this view is based on
docstring_tokens: gets the default base that this view is based on
function: def get_default_base(self):
          '''gets the default base that this view is based on'''
          xpath = "config/%s/@default" % self.view_xpath;
          default_base = self.xml.get_value(xpath)
          if default_base == "":
              # defining the main types of config snippet
              if self.view == "edit":
                  return "edit"
              elif self.view == "insert":
                  return "insert"
              else:
                  return "table"
          else:
              return default_base
function_tokens: def get_default_base ( self ) : xpath = "config/%s/@default" % self . view_xpath default_base = self . xml . get_value ( xpath ) if default_base == "" : # defining the main types of config snippet if self . view == "edit" : return "edit" elif self . view == "insert" : return "insert" else : return "table" else : return default_base