[Zope] ZCatalog searching

Chris Withers chrisw@nipltd.com
Wed, 08 Aug 2001 09:17:59 +0100


Dieter Maurer wrote:
> 
> There is currently no such method,
> but you could easily create one:
> 
>     import string
> 
>     class ZCatalog:
>       ....
>       def isObjectCataloged(self,object):
>         uid= string.join(object.getPhysicalPath(),'/')
>         return self._catalog.uids.has_key(uid)

Perhaps that could go in the collector?

cheers,

Chris