[Erp5-dev] how to get base categories from type information

Bartek Gorny bartek at redpoint.mn.pl
Mon Aug 14 16:25:14 CEST 2006


Hello

Anybody knows how to do this: get a list of base categories for a
portal_type from the Type Information?

The point is to get something like what you can get from an instance
(by object.getBaseCategoryList()), but not from an instance, but from
a portal type definition - like collecting all property sheets hooked
to it and adding base categories assigned from ZMI. I'm sure there is
a way to do it, but can't figure out how. Can you help?

Bartek

-- 
"Software is largely a service industry operating under the persistent
but unfounded delusion that it is a manufacturing industry."
Eric S.Raymond, "The Magic Cauldron"



More information about the Erp5-dev mailing list