Back to index

plone3  3.1.7
Classes | Namespaces | Functions | Variables
propertiestool.py File Reference

Go to the source code of this file.

Classes

class  CMFPlone.exportimport.propertiestool.SimpleItemWithPropertiesXMLAdapter
class  CMFPlone.exportimport.propertiestool.PlonePropertiesToolXMLAdapter

Namespaces

namespace  CMFPlone.exportimport.propertiestool

Functions

def CMFPlone.exportimport.propertiestool.importPloneProperties
def CMFPlone.exportimport.propertiestool.exportPloneProperties

Variables

string CMFPlone.exportimport.propertiestool._FILENAME = 'propertiestool.xml'
tuple CMFPlone.exportimport.propertiestool.insert_before = child.getAttribute('insert-before')
 Original _initObjects code: meta_type = str(child.getAttribute('meta_type')) for mt_info in Products.meta_types: if mt_info['name'] == meta_type: parent._setObject(obj_id, mt_info['instance'](obj_id)) break else: raise ValueError('unknown meta_type \'s\'' % obj_id)
tuple CMFPlone.exportimport.propertiestool.position = parent.getObjectPosition(insert_before)
tuple CMFPlone.exportimport.propertiestool.insert_after = child.getAttribute('insert-after')
tuple CMFPlone.exportimport.propertiestool.obj = getattr(self.context, obj_id)
tuple CMFPlone.exportimport.propertiestool.importer = zapi.queryMultiAdapter((obj, self.environ), INode)