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

def zope-i18nfolder-2.02::I18NFolder::I18NFolder::setTitle (   self,
  title = '',
  lang_code = None 
)

setTitle(self, title='', lang_code=None)

Definition at line 189 of file I18NFolder.py.

00189                                                 :
        """
        setTitle(self, title='', 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['title'] = title
        self.folder_languages[lang] = language_object
        
        # for persistency
        self.folder_languages = self.folder_languages
            
    # Title method
    def Title(self, lang_code=None):


Generated by  Doxygen 1.6.0   Back to index