Back to index

plone3  3.1.7
Public Member Functions | Public Attributes Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes


Detailed Description

The executor for this condition.

Definition at line 38 of file

Constructor & Destructor Documentation

def (   self,

Definition at line 44 of file

00045     def __init__(self, context, element, event):
00046         self.context = context
00047         self.element = element
00048         self.event = event

Here is the caller graph for this function:

Member Function Documentation

Definition at line 49 of file

00050     def __call__(self):
00051         portal_workflow = getToolByName(self.context, 'portal_workflow', None)
00052         if portal_workflow is None:
00053             return False
00054         state = portal_workflow.getInfoFor(self.event.object, 'review_state', None)
00055         if state is None:
00056             return False
00057         return state in self.element.wf_states

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Definition at line 45 of file

Definition at line 46 of file

Definition at line 47 of file

The documentation for this class was generated from the following file: