Back to index

plone3  3.1.7
Namespaces | Variables
check_id.py File Reference

Go to the source code of this file.

Namespaces

namespace  check_id

Variables

 check_id.id = alternative_id
tuple check_id.plone_utils = getToolByName(container, 'plone_utils', None)
tuple check_id.bad_chars = plone_utils.bad_chars(id)
dictionary check_id.mapping = {u'name' : id, u'characters' : ''.join(bad_chars)}
tuple check_id.portal_catalog = getToolByName(container, 'portal_catalog', None)
tuple check_id.portal_factory = getToolByName(container, 'portal_factory', None)
 check_id.checkForCollision = True
 check_id.contained_by = context.aq_inner.aq_parent.aq_parent.aq_parent
 check_id.exists = False
tuple check_id.existing_obj = getattr(contained_by, id, None)
tuple check_id.portal_types = getToolByName(context, 'portal_types', None)
tuple check_id.parentFti = portal_types.getTypeInfo(contained_by)
tuple check_id.aliases = plone_utils.getMethodAliases(parentFti)
tuple check_id.portal = context.portal_url.getPortalObject()