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

def CMFPlacefulWorkflow::DefaultWorkflowPolicy::DefaultWorkflowPolicyDefinition::getDefaultChain (   self,
  ob 
)
Returns the default chain.

Definition at line 245 of file DefaultWorkflowPolicy.py.

                                 :
        """ Returns the default chain."""
        if self._default_chain is None:
            wf_tool = getToolByName(self, 'portal_workflow')
            return wf_tool.getDefaultChainFor(ob)
        else:
            return self._default_chain


Generated by  Doxygen 1.6.0   Back to index