Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Member Functions
CMFFormController.exportimport.formcontroller.CMFFormControllerExportConfigurator Class Reference
Inheritance diagram for CMFFormController.exportimport.formcontroller.CMFFormControllerExportConfigurator:
Inheritance graph
[legend]
Collaboration diagram for CMFFormController.exportimport.formcontroller.CMFFormControllerExportConfigurator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def listValidators
def listActions

Static Public Attributes

tuple security = ClassSecurityInfo()

Private Member Functions

def _getExportTemplate

Detailed Description

Synthesize XML description of CMFFormController properties.

Definition at line 92 of file formcontroller.py.


Member Function Documentation

Definition at line 125 of file formcontroller.py.

00125 
00126     def _getExportTemplate(self):
00127 
00128         return PageTemplateFile('fcExport.xml', _xmldir)
00129 
00130 InitializeClass(CMFFormControllerExportConfigurator)

Return a list of mappings describing the tool's actions.

Definition at line 110 of file formcontroller.py.

00110 
00111     def listActions(self):
00112         """ Return a list of mappings describing the tool's actions.
00113         """
00114         fc = getToolByName(self._site, 'portal_form_controller')
00115 
00116         for action in fc.listFormActions():
00117             yield {'object_id': action.getObjectId(),
00118                    'status': action.getStatus(),
00119                    'context_type': action.getContextType(),
00120                    'button': action.getButton(),
00121                    'action_type': action.getActionType(),
00122                    'action_arg': action.getActionArg()
00123                   }

Here is the call graph for this function:

Here is the caller graph for this function:

Return a list of mappings describing the tool's validators.

Definition at line 98 of file formcontroller.py.

00098 
00099     def listValidators(self):
00100         """ Return a list of mappings describing the tool's validators.
00101         """
00102         fc = getToolByName(self._site, 'portal_form_controller')
00103 
00104         for validator in fc.listFormValidators():
00105             yield {'object_id': validator.getObjectId(),
00106                    'context_type': validator.getContextType(),
00107                    'button': validator.getButton(),
00108                    'validators': validator.getValidators(),
00109                   }

Here is the call graph for this function:


Member Data Documentation

Definition at line 95 of file formcontroller.py.


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