[Zope-CMF] IndexableObjectWrapper

Miles miles at jamkit.com
Tue Mar 10 10:39:14 EDT 2009


>> class IndexableObjectWrapper(object):
>>
>>      implements(IIndexableObjectWrapper)
>>      __providedBy__ = IndexableObjectSpecification()
>>
>> What does this code actually achieve (I get the implements bit, obviously)?!
> 
> This makes the wrapper transparent, allowing the index to look up 
> adapters for the interfaces of the object. TextIndexNG3 works that way.

Brilliant! Now it all makes sense.  Any objections to me adding some 
comments into IndexableObjectSpecification to this effect?

Mile



More information about the Zope-CMF mailing list