Logo Search packages:      
Sourcecode: zope-cmfplacefulworkflow version File versions  Download package

def CMFPlacefulWorkflow::PlacefulWorkflowTool::PlacefulWorkflowTool::getWorkflowPolicyById (   self,
  wfp_id 
)
Retrieve a given workflow policy.

Definition at line 145 of file PlacefulWorkflowTool.py.

                                           :

        """ Retrieve a given workflow policy.
        """
        policy=None
        if wfp_id != None:
            wfp = getattr(self, wfp_id, None)
            if wfp !=None:
                if getattr(wfp, '_isAWorkflowPolicy', 0):
                    policy = wfp
        return policy


Generated by  Doxygen 1.6.0   Back to index