Logo Search packages:      
Sourcecode: zope-cmfworkflow version File versions

def DCWorkflow::DCWorkflow::DCWorkflowDefinition::isInfoSupported (   self,
  ob,
  name 
)

Returns a true value if the given info name is supported.

Definition at line 321 of file DCWorkflow.py.

00321                                        :
        '''
        Returns a true value if the given info name is supported.
        '''
        if name == self.state_var:
            return 1
        vdef = self.variables.get(name, None)
        if vdef is None:
            return 0
        return 1

    security.declarePrivate('getInfoFor')
    def getInfoFor(self, ob, name, default):


Generated by  Doxygen 1.6.0   Back to index