Back to index

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

List of all members.

Public Member Functions

def __init__
def getObjectId
def getContextType
def getButton

Static Public Attributes

tuple security = ClassSecurityInfo()

Detailed Description

Definition at line 11 of file FormValidator.py.


Constructor & Destructor Documentation

def CMFFormController.FormValidator.FormValidatorKey.__init__ (   self,
  object_id,
  context_type,
  button,
  controller = None 
)

Definition at line 16 of file FormValidator.py.

00016 
00017     def __init__(self, object_id, context_type, button, controller=None):
00018         object_id = object_id.strip()
00019         if controller:
00020             path_elements = object_id.split('/')
00021             for p in path_elements:
00022                 s = controller._checkId(p)
00023                 if s:
00024                     raise ValueError, 'Illegal template id: %s' % s
00025 
00026         if not context_type:
00027             context_type = ANY_CONTEXT
00028 
00029         if button is not None:
00030             button = button.strip()
00031         if not button:
00032             button = ANY_BUTTON
00033 
00034         Key.__init__(self, (object_id, context_type, button))


Member Function Documentation

Definition at line 41 of file FormValidator.py.

00041 
00042     def getButton(self):
00043         return self.key[2]
00044 
00045 InitializeClass(FormValidatorKey)
00046 

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 38 of file FormValidator.py.

00038 
00039     def getContextType(self):
00040         return self.key[1]

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 35 of file FormValidator.py.

00035 
00036     def getObjectId(self):
00037         return self.key[0]

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

tuple CMFFormController.FormValidator.FormValidatorKey.security = ClassSecurityInfo() [static]

Definition at line 13 of file FormValidator.py.


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