示例#1
0
    def modified(self):
        """Provide a callable to return the modification time of content items.

        So stored image scales can be invalidated.
        """
        dc = IZopeDublinCore(self.context)
        return dc.ModificationDate()
示例#2
0
    def modified(self):
        """Provide a callable to return the modification time of content items.

        So stored image scales can be invalidated.
        """
        unecure_context = removeSecurityProxy(self.context.context)
        # dc = IZopeDublinCore(self.context.context)
        dc = IZopeDublinCore(unecure_context)
        return dc.ModificationDate()