[Zope] Problem with tree and navigate_filter

Andreas Kostyrka andreas@mtg.co.at
Tue, 3 Aug 1999 10:59:44 +0200 (CEST)


On Tue, 3 Aug 1999, Martijn Pieters wrote:

> What does 'navigate_filter' do?
navigate_filter comes from the Navigation Product (look at the Contrib
Area and http://www.mtg.co.at/projects/products/Navigation)

It is a superset of objectValues(), from the README.txt:
Navigate adds a Folder method "navigate_filter".

navigate_filter(key,value,cat="Folder",acquire=0,negate=0)

navigate_filter returns all subobjects of type cat of the Folder, that have
an string attribute key with the given value.

if acquire is true, navigate_filter uses Aquisition for key, else it ignores
acquired attributes.

if negate is true, the method returns the objects that do not have the key
with the right value.

$Id: README.txt,v 1.3 1999/07/01 19:58:36 andreas Exp $

Andreas
--
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +43/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA