Back to index

plone3  3.1.7
Classes | Functions
CMFPlone.exportimport.controlpanel Namespace Reference

Classes

class  ControlPanelXMLAdapter

Functions

def importControlPanel
def exportControlPanel

Function Documentation

Export actions tool.

Definition at line 148 of file controlpanel.py.

00148 
00149 def exportControlPanel(context):
00150     """Export actions tool.
00151     """
00152     site = context.getSite()
00153     tool = getToolByName(site, 'portal_controlpanel', None)
00154     if tool is None:
00155         logger = context.getLogger('controlpanel')
00156         logger.info('Nothing to export.')
00157         return
00158 
00159     exportObjects(tool, '', context)

Here is the call graph for this function:

Import Plone control panel.

Definition at line 140 of file controlpanel.py.

00140 
00141 def importControlPanel(context):
00142     """Import Plone control panel.
00143     """
00144     site = context.getSite()
00145     tool = getToolByName(site, 'portal_controlpanel')
00146 
00147     importObjects(tool, '', context)

Here is the call graph for this function: