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

def ATSchemaEditorNG::SchemaEditor::SchemaEditor::atse_getFieldValidators (   self,
  field 
)

return a list of the pertinent validators for a field 

Definition at line 795 of file SchemaEditor.py.

00795                                             :
        """ return a list of the pertinent validators for a field """
        validators = getattr(field, 'validators', ())
        # filtering out 'isEmpty..' validators since they get injected
        # into the validation chain automatically
        return tuple([v.name for v,q in validators if
                      not v.name.startswith('isEmpty')])

    security.declareProtected(ManageSchemaPermission, 'atse_formatVocabulary')
    def atse_formatVocabulary(self, field):


Generated by  Doxygen 1.6.0   Back to index