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

def zope-linguaplone-0.7::I18NBaseObject::I18NBaseObject::isCanonical (   self  ) 

Tells whether this is the canonical translation

Definition at line 151 of file I18NBaseObject.py.

00151                          :
        """Tells whether this is the canonical translation"""
        # This is canonical if there are no translationOf references
            return not self.getReferenceImpl(RELATIONSHIP) and True or False
        except AttributeError:
            return True

    security.declareProtected(ModifyPortalContent, 'setCanonical')
    def setCanonical(self):

Generated by  Doxygen 1.6.0   Back to index