Back to index

plone3  3.1.7
Classes | Functions
CMFCore.exportimport.skins Namespace Reference

Classes

class  DirectoryViewNodeAdapter
class  SkinsToolXMLAdapter

Functions

def importSkinsTool
def exportSkinsTool

Function Documentation

Export skins tool FSDVs and skin paths as an XML file.

Definition at line 226 of file skins.py.

00226 
00227 def exportSkinsTool(context):
00228     """Export skins tool FSDVs and skin paths as an XML file.
00229     """
00230     site = context.getSite()
00231     tool = getToolByName(site, 'portal_skins', None)
00232     if tool is None:
00233         logger = context.getLogger('skins')
00234         logger.info('Nothing to export.')
00235         return
00236 
00237     exportObjects(tool, '', context)

Here is the call graph for this function:

Here is the caller graph for this function:

Import skins tool FSDirViews and skin paths from an XML file.

Definition at line 218 of file skins.py.

00218 
00219 def importSkinsTool(context):
00220     """Import skins tool FSDirViews and skin paths from an XML file.
00221     """
00222     site = context.getSite()
00223     tool = getToolByName(site, 'portal_skins')
00224 
00225     importObjects(tool, '', context)

Here is the call graph for this function:

Here is the caller graph for this function: