[Zope-CMF] CMF 1.5 beta coming -- last call before feature freeze!

Tres Seaver tseaver at zope.com
Wed Aug 4 15:42:06 EDT 2004


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?

Tres.
-- 
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com


More information about the Zope-CMF mailing list