Logo Search packages:      
Sourcecode: zope-i18nfolder version File versions

def zope-i18nfolder-2.02::I18NFolder::I18NFolder::setDescription (   self,
  description = '',
  lang_code = None 
)

setDescription(self, description='', lang_code=None)

Definition at line 234 of file I18NFolder.py.

00234                                                             :
        """
        setDescription(self, description='', lang_code=None)
        """
        
        # Get language code
        lang = lang_code
        
        if not lang:
            lang = self.getDefaultLanguage()
        
        # Build language object
        language_object = self.getLanguageObject(lang)
        language_object['description'] = description
        self.folder_languages[lang] = language_object
        
        # for persistency
        self.folder_languages = self.folder_languages
    
    # Description method
    def Description(self, lang_code=None):


Generated by  Doxygen 1.6.0   Back to index