Back to index

plone3  3.1.7
isATCTbased.py
Go to the documentation of this file.
00001 ## Script (Python) "isATCTbased"
00002 ##title=Formats the history diff
00003 ##bind container=container
00004 ##bind context=context
00005 ##bind namespace=
00006 ##bind script=script
00007 ##bind subpath=traverse_subpath
00008 ##parameters=obj
00009 
00010 from Products.CMFCore.utils import getToolByName
00011 
00012 iface = getToolByName(context, 'portal_interface')
00013 
00014 return iface.objectImplements(obj,
00015            'Products.ATContentTypes.interfaces.IATContentType')