Logo Search packages:      
Sourcecode: zope-cmf1.5 version File versions  Download package

def CMFSetup::registry::ExportStepRegistry::getStepMetadata (   self,
  key,
  default = None 
)

Return a mapping of metadata for the step identified by 'key'.

o Return 'default' if no such step is registered.

o The 'handler' metadata is available via 'getStep'.

Definition at line 292 of file registry.py.

00292                                                   :

        """ Return a mapping of metadata for the step identified by 'key'.

        o Return 'default' if no such step is registered.

        o The 'handler' metadata is available via 'getStep'.
        """
        info = self._registered.get( key )

        if info is None:
            return default

        return info.copy()

    security.declareProtected( ManagePortal, 'listStepMetadata' )
    def listStepMetadata( self ):


Generated by  Doxygen 1.6.0   Back to index