Back to index

plone3  3.1.7
Functions
plone.app.iterate.subscribers.versioning Namespace Reference

Functions

def handleBeforeCheckout
def handleAfterCheckin

Function Documentation

Definition at line 34 of file versioning.py.

00034 
00035 def handleAfterCheckin( event ):
00036     archiver = interfaces.IObjectArchiver( event.object )
    archiver.save( event.message )

Definition at line 29 of file versioning.py.

00029 
00030 def handleBeforeCheckout( event ):
00031     archiver = interfaces.IObjectArchiver( event.object )
00032     if archiver.isModified() or not archiver.isVersioned():
00033         archiver.save("Baseline created")