Back to index

plone3  3.1.7
Public Member Functions | Public Attributes | Static Public Attributes
CMFFormController.FormValidator.FormValidator Class Reference
Inheritance diagram for CMFFormController.FormValidator.FormValidator:
Inheritance graph
Collaboration diagram for CMFFormController.FormValidator.FormValidator:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __copy__
def getObjectId
def getContextType
def getButton
def getValidators
def getKey

Public Attributes


Static Public Attributes

tuple security = ClassSecurityInfo()

Detailed Description

Definition at line 47 of file

Constructor & Destructor Documentation

def CMFFormController.FormValidator.FormValidator.__init__ (   self,
  controller = None 

Definition at line 52 of file

00053     def __init__(self, object_id, context_type, button, validators, controller=None):
00054         self.key = FormValidatorKey(object_id, context_type, button, controller)
00056         if isinstance(validators, basestring):
00057             validators = validators.split(',')
00058         validators = [v.strip() for v in validators if v]
00059         if controller:
00060             for v in validators:
00061                 path_elements = v.split('/')
00062                 for p in path_elements:
00063                     s = controller._checkId(p)
00064                     if s:
00065                         raise ValueError, 'Illegal template id: %s' % s
00066         self.validators = validators

Member Function Documentation

Definition at line 67 of file

00068     def __copy__(self):
00069         return FormValidator(self.getObjectId(), self.getContextType(), self.getButton(), self.getValidators())

Here is the call graph for this function:

Definition at line 76 of file

00077     def getButton(self):
00078         return self.key.getButton()

Here is the caller graph for this function:

Definition at line 73 of file

00074     def getContextType(self):
00075         return self.key.getContextType()

Here is the caller graph for this function:

Definition at line 82 of file

00083     def getKey(self):
00084         return self.key
00086 InitializeClass(FormValidator)

Definition at line 70 of file

00071     def getObjectId(self):
00072         return self.key.getObjectId()

Here is the caller graph for this function:

Definition at line 79 of file

00080     def getValidators(self):
00081         return self.validators

Here is the caller graph for this function:

Member Data Documentation

Definition at line 53 of file

tuple = ClassSecurityInfo() [static]

Definition at line 49 of file

Definition at line 65 of file

The documentation for this class was generated from the following file: