[Zope-CMF] CMF 1.5 beta coming -- last call before feature freeze!
Stefan H. Holek
stefan at epy.co.at
Wed Aug 4 17:13:03 EDT 2004
Because the caller is not himself derived from ZCatalog?
I am not married to 'private', btw. Anything you think is more
appropriate? I'm not even married to the method name ;-).
Stefan
On Mittwoch, Aug 4, 2004, at 21:42 Europe/Vienna, Tres Seaver wrote:
> Stefan H. Holek wrote:
>> I have this feature for CMFCore.CatalogTool:
>> security.declarePrivate('unrestrictedSearchResults')
>> def unrestrictedSearchResults(self, REQUEST=None, **kw):
>> """
>> Calls ZCatalog.searchResults without any CMF specific
>> processing.
>> """
>> return ZCatalog.searchResults(self, REQUEST, **kw)
>> You want it?
>
> I guess I'm confused: given that it is private, why couldn't the
> caller just invoke ZCatalog.searchResults(thing, REQEUEST, **kw)
> herself?
--
The time has come to start talking about whether the emperor is as well
dressed as we are supposed to think he is. /Pete McBreen/
More information about the Zope-CMF
mailing list