From 56aca3fa7a193a30fa38f121011a8aeb981a82c9 Mon Sep 17 00:00:00 2001 From: Michel Pelletier Date: Mon, 3 Jul 2000 20:40:48 +0000 Subject: [PATCH] Polish up API docs --- help/Vocabulary.py | 13 +++++-------- help/ZCatalog.py | 11 +++++++++++ 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/help/Vocabulary.py b/help/Vocabulary.py index 6f7037aa..bb02a78f 100644 --- a/help/Vocabulary.py +++ b/help/Vocabulary.py @@ -118,12 +118,9 @@ def words(self): """ +def manage_addVocabulary(self, id, title, globbing=None, REQUEST=None): + """ - - - - - - - - + Add a Vocabulary object to an ObjectManager. + + """ diff --git a/help/ZCatalog.py b/help/ZCatalog.py index 2089f64b..773108ce 100644 --- a/help/ZCatalog.py +++ b/help/ZCatalog.py @@ -188,3 +188,14 @@ def __call__(self, REQUEST=None, **kw): """ Search the catalog, the same way as 'searchResults'. """ + +def manage_addZCatalog(self, id, title, vocab_id=None): + """ + + Add a ZCatalog object. + + 'vocab_id' is the name of a Vocabulary object this catalog should + use. A value of None will cause the Catalog to create its own + private vocabulary. + + """