Skip to content

Commit

Permalink
Added files for partial searching support
Browse files Browse the repository at this point in the history
  • Loading branch information
Michel Pelletier committed Jan 31, 2000
1 parent 4a891d7 commit 76e5bea
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion __init__.py
Expand Up @@ -85,7 +85,7 @@

"""ZCatalog product"""

import ZCatalog, Catalog, CatalogAwareness
import ZCatalog, Catalog, CatalogAwareness, Vocabulary



Expand All @@ -97,7 +97,25 @@ def initialize(context):
ZCatalog.manage_addZCatalog),
icon='www/ZCatalog.gif',
)

context.registerClass(
Vocabulary.Vocabulary,
permission='Add Vocabularies',
constructors=(Vocabulary.manage_addVocabularyForm,
Vocabulary.manage_addVocabulary),
icon='www/ZCatalog.gif',
)

context.registerBaseClass(ZCatalog.ZCatalog)
context.registerBaseClass(CatalogAwareness.CatalogAware)

context.registerHelp()


methods={
## aparently this is bad, but I can't think of any other way!

'VocabularyIDs' : ZCatalog.VocabularyIDs,
}


0 comments on commit 76e5bea

Please sign in to comment.