Back to index

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

List of all members.

Public Member Functions

def __init__
def getObjectId
def getStatus
def getContextType
def getButton

Static Public Attributes

tuple security = ClassSecurityInfo()

Detailed Description

Definition at line 33 of file FormAction.py.


Constructor & Destructor Documentation

def CMFFormController.FormAction.FormActionKey.__init__ (   self,
  object_id,
  status,
  context_type,
  button,
  controller = None 
)

Definition at line 38 of file FormAction.py.

00038 
00039     def __init__(self, object_id, status, context_type, button, controller=None):
00040         object_id = object_id.strip()
00041         if controller:
00042             s = controller._checkId(object_id)
00043             if s:
00044                 raise ValueError, 'Illegal template id: %s' % s
00045 
00046         status = status.strip()
00047         if not status:
00048             raise ValueError, 'Illegal status %s' % (status)
00049 
00050         if not context_type:
00051             context_type = ANY_CONTEXT
00052 
00053         if button is not None:
00054             button = button.strip()
00055         if not button:
00056             button = ANY_BUTTON
00057 
00058         Key.__init__(self, (object_id, status, context_type, button))


Member Function Documentation

Definition at line 68 of file FormAction.py.

00068 
00069     def getButton(self):
00070         return self.key[3]
00071 
00072 InitializeClass(FormActionKey)
00073 

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 65 of file FormAction.py.

00065 
00066     def getContextType(self):
00067         return self.key[2]

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 59 of file FormAction.py.

00059 
00060     def getObjectId(self):
00061         return self.key[0]

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 62 of file FormAction.py.

00062 
00063     def getStatus(self):
00064         return self.key[1]

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

tuple CMFFormController.FormAction.FormActionKey.security = ClassSecurityInfo() [static]

Definition at line 35 of file FormAction.py.


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