parameters: (self, version=None)
return_statement: return [o.getLanguage() for o in catalog(**kw)]
docstring: Returns a list of languages which this document is available in
        for the current user.
docstring_summary: Returns a list of languages which this document is available in
        for the current user.
docstring_tokens: Returns a list of languages which this document is available in for the current user .
function: def getLanguageList(self, version=None):
      """
        Returns a list of languages which this document is available in
        for the current user.
      """
      if not self.getReference(): return []
      catalog = self.getPortalObject().portal_catalog
      kw = dict(portal_type=self.getPortalType(),
                reference=self.getReference(),
                group_by=('language',))
      if version is not None:
        kw['version'] = version
      return [o.getLanguage() for o in catalog(**kw)]
function_tokens: def getLanguageList ( self , version = None ) : if not self . getReference ( ) : return [ ] catalog = self . getPortalObject ( ) . portal_catalog kw = dict ( portal_type = self . getPortalType ( ) , reference = self . getReference ( ) , group_by = ( 'language' , ) ) if version is not None : kw [ 'version' ] = version return [ o . getLanguage ( ) for o in catalog ( * * kw ) ]