(self)
return names
Return a dictionary of fieldnames as saved in mongodb with
        corresponding xform field names e.g {"Q1Lg==1": "Q1.1"}
Return a dictionary of fieldnames as saved in mongodb with
        corresponding xform field names e.g {"Q1Lg==1": "Q1.1"}
Return a dictionary of fieldnames as saved in mongodb with corresponding xform field names e . g { Q1Lg == 1 : Q1 . 1 }
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
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