[Product-Developers] know folderish types
hector.velarde at gmail.com
Mon May 28 18:32:35 UTC 2012
this is the code of listPortalTypesWithInterfaces:
def listPortalTypesWithInterfaces(self, ifaces):
pt = getToolByName(self, 'portal_types')
value = 
for data in listTypes():
klass = data['klass']
for iface in ifaces:
ti = pt.getTypeInfo(data['portal_type'])
if ti is not None:
I think you can easily implement something like that asking for the
fti.klass of the content type.
ask Martin/David if they want to add something like that on Dexterity.
did you already signed the Plone core developer agreement? ;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4939 bytes
Desc: S/MIME Cryptographic Signature
More information about the Product-Developers