Back to index

plone3  3.1.7
get_permalink Namespace Reference


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

Variable Documentation

tuple get_permalink.isFolderish = getattr(context.aq_explicit, 'isPrincipiaFolderish', None)

Definition at line 19 of file

tuple get_permalink.ptool = getUtilityByInterfaceName('Products.CMFCore.interfaces.IPropertiesTool')

Definition at line 17 of file

tuple get_permalink.showPermalink = getattr(ptool, 'enable_permalink', None)

Definition at line 18 of file

tuple get_permalink.uid = uidtool.register(context)

Definition at line 24 of file

tuple get_permalink.uidtool = getToolByName(context, 'portal_uidhandler', None)

Definition at line 15 of file

string get_permalink.url = "%s/permalink/%s"

Definition at line 25 of file

tuple get_permalink.utool = getToolByName(context, 'portal_url')

Definition at line 23 of file