Back to index

plone3  3.1.7
Classes | Functions
CMFDiffTool.CMFDiffTool Namespace Reference

Classes

class  CMFDiffTool

Functions

def registerDiffType
def unregisterDiffType

Detailed Description

CMFDiffTool.py

   Calculate differences between content objects

Function Documentation

Register a class for computing differences.

Instances of the class must implement the IDifference
interface.

Definition at line 159 of file CMFDiffTool.py.

00159 
00160 def registerDiffType(klass):
00161     """Register a class for computing differences.
00162 
00163     Instances of the class must implement the IDifference
00164     interface."""
00165 
00166     CMFDiffTool._difftypes[klass.meta_type] = klass

Here is the caller graph for this function:

Register a class for computing differences.

Instances of the class must implement the IDifference
interface.

Definition at line 167 of file CMFDiffTool.py.

00167 
00168 def unregisterDiffType(klass):
00169     """Register a class for computing differences.
00170 
00171     Instances of the class must implement the IDifference
00172     interface."""
00173 
00174     del CMFDiffTool._difftypes[klass.meta_type]
00175 
00176 
00177 InitializeClass(CMFDiffTool)
00178 registerToolInterface('portal_diff', IDiffTool)

Here is the call graph for this function:

Here is the caller graph for this function: