[Product-Developers] Testing for a provided interface from within a page template

Hedley Roos hedley at upfrontsystems.co.za
Mon Oct 5 10:54:37 UTC 2009


> So, the question is, how can I test that an object is subtyped, or that 
> an object provides a certain interface from within a page template?

portal_catalog has a Keyword Index object_provides which you can query 
from a page template. A subclass automatically inherits a super class's 
interfaces.

Hedley




More information about the Product-Developers mailing list