Back to index

plone3  3.1.7
Private Member Functions
CMFFormController.exportimport.formcontroller.CMFFormControllerImportConfigurator Class Reference
Inheritance diagram for CMFFormController.exportimport.formcontroller.CMFFormControllerImportConfigurator:
Inheritance graph
[legend]
Collaboration diagram for CMFFormController.exportimport.formcontroller.CMFFormControllerImportConfigurator:
Collaboration graph
[legend]

List of all members.

Private Member Functions

def _getImportMapping

Detailed Description

Definition at line 131 of file formcontroller.py.


Member Function Documentation

Definition at line 133 of file formcontroller.py.

00133 
00134     def _getImportMapping(self):
00135         # Each key represents the name of an xml node
00136         # 'cmfformcontroller' is the top level node
00137         # It will contain nodes of type 'action' and 'validator';
00138         # 'action' and 'validator' nodes will be stored in the
00139         # dict generated by import in tuples with keys 'actions'
00140         # and 'validators', respectively
00141         return {
00142           'cmfformcontroller': {
00143             'action':     {KEY: 'actions', DEFAULT: ()},
00144             'validator':  {KEY: 'validators', DEFAULT: ()},
00145           },
00146           'action':
00147              { 'object_id':    {},
00148                'status':       {},
00149                'context_type': {},
00150                'button':       {},
00151                'action_type':  {},
00152                'action_arg':   {},
00153              },
00154           'validator':
00155              { 'object_id':    {},
00156                'context_type': {},
00157                'button':       {},
00158                'validators':   {},
00159              }
00160           }
00161 
00162 InitializeClass(CMFFormControllerImportConfigurator)

Here is the caller graph for this function:


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