parameters: (self)
return_statement: return names
docstring: Return a dictionary of fieldnames as saved in mongodb with
          corresponding xform field names e.g {"Q1Lg==1": "Q1.1"}
docstring_summary: Return a dictionary of fieldnames as saved in mongodb with
          corresponding xform field names e.g {"Q1Lg==1": "Q1.1"}
docstring_tokens: Return a dictionary of fieldnames as saved in mongodb with corresponding xform field names e . g { Q1Lg == 1 : Q1 . 1 }
function: def get_mongo_field_names_dict(self):
          """
          Return a dictionary of fieldnames as saved in mongodb with
          corresponding xform field names e.g {"Q1Lg==1": "Q1.1"}
          """
          names = {}
          for elem in self.get_survey_elements():
              names[_encode_for_mongo(unicode(elem.get_abbreviated_xpath()))] = \
                  elem.get_abbreviated_xpath()
          return names
function_tokens: def get_mongo_field_names_dict ( self ) : names = { } for elem in self . get_survey_elements ( ) : names [ _encode_for_mongo ( unicode ( elem . get_abbreviated_xpath ( ) ) ) ] = elem . get_abbreviated_xpath ( ) return names