[Zope-dev] extending objectValues() and objectIds() or ?

Itamar Shtull-Trauring itamar@maxnm.com
Tue, 24 Oct 2000 18:45:42 +0200


Write a Python Method (install the PythonMethods product first) called say,
publishableObjectValues that does that:

<param>self</param>

# functions that returns publishable objects
result = []
for o in self.objectValues():
   if o.isPublishable(): result.append(o)
return result
	
-- 
Itamar S.T.  itamar@maxnm.com
Fingerprint = D365 7BE8 B81E 2B18 6534  025E D0E7 92DB E441 411C