Skip to content

Commit

Permalink
Polish up API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Pelletier committed Jul 3, 2000
1 parent a508bfe commit 56aca3f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
13 changes: 5 additions & 8 deletions help/Vocabulary.py
Expand Up @@ -118,12 +118,9 @@ def words(self):
"""


def manage_addVocabulary(self, id, title, globbing=None, REQUEST=None):
"""








Add a Vocabulary object to an ObjectManager.
"""
11 changes: 11 additions & 0 deletions help/ZCatalog.py
Expand Up @@ -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.
"""

0 comments on commit 56aca3f

Please sign in to comment.