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

def CMFMember::tools::control::ControlTool::getCurrentMemberWorkflow (   self  ) 

Return the workflow associated with the current default member type.

Definition at line 252 of file control.py.

00252                                       :
        """ Return the workflow associated with the current default member type."""
        def_mem_type = self.getDefaultMemberType()
        chain = getToolByName(self, 'portal_workflow').getChainFor(def_mem_type)
        if chain:
            return chain[0]
        else:
            return ''

    security.declareProtected(ManagePortal, 'getAvailableWorkflows')
    def getAvailableMemberWorkflows(self):


Generated by  Doxygen 1.6.0   Back to index