Back to index

plone3  3.1.7
__init__.py
Go to the documentation of this file.
00001 from RegexValidator import RegexValidator
00002 from RangeValidator import RangeValidator
00003 from ExpressionValidator import ExpressionValidator
00004 
00005 validators = []
00006 
00007 from BaseValidators import baseValidators
00008 validators.extend(baseValidators)
00009 
00010 from EmptyValidator import validatorList
00011 validators.extend(validatorList)
00012 
00013 from SupplValidators import validatorList
00014 validators.extend(validatorList)
00015 
00016 from IdValidator import validatorList
00017 validators.extend(validatorList)
00018 
00019 
00020 def initialize(service):
00021     for validator in validators:
00022         service.register(validator)