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

def ZPatterns::AttributeProviders::AttributeProvider::namesForRegistration (   self,
  container 
) [inherited]

Return a tuple (readnames,writenames) where each is a sequence of attribute
names which this attribute provider supports reading and writing, respectively.
'*' may be included in either or both sequences, which means the provider will
be called if a more specific provider could not be found for a given attribute.
This is so that attribute providers can potentially create attributes
dynamically based on the requested name.

Reimplemented in ZPatterns::AttributeProviders::ExternalAttributeProvider.

Definition at line 52 of file AttributeProviders.py.

00052                                             :
        """
Return a tuple (readnames,writenames) where each is a sequence of attribute
names which this attribute provider supports reading and writing, respectively.
'*' may be included in either or both sequences, which means the provider will
be called if a more specific provider could not be found for a given attribute.
This is so that attribute providers can potentially create attributes
dynamically based on the requested name.
        """
        return {
            'provides':('attributes',),
            'setattr': self.Attributes, 'delattr': self.Attributes
        }

    def _AttributeFor(self,client,name,default=None):


Generated by  Doxygen 1.6.0   Back to index