Back to index

plone3  3.1.7
Namespaces | Variables
get_permalink.py File Reference

Go to the source code of this file.

Namespaces

Variables

tuple get_permalink.uidtool = getToolByName(context, 'portal_uidhandler', None)
tuple get_permalink.ptool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IPropertiesTool')
tuple get_permalink.showPermalink = getattr(ptool, 'enable_permalink', None)
tuple get_permalink.isFolderish = getattr(context.aq_explicit, 'isPrincipiaFolderish', None)
tuple get_permalink.utool = getToolByName(context, 'portal_url')
tuple get_permalink.uid = uidtool.register(context)
string get_permalink.url = "%s/permalink/%s"