Skip to content

Use CatalogManager to get Catalog Objects

andreasknoepfle edited this page Sep 14, 2010 · 4 revisions

Catalog Manager Use with non template catalogs

To get a catalog object from the CatalogManager use:

CatalogManager.catalog 'my_application_key'

  • The first parameter is an ‘application’ String that is the key to your Application

Define new applications:

New catalog applications are defined in config/catalog/catalog_application.yml

Format:
my_application_key:
name: Name of my Application
entry_classname: Name of the Subclass of Entries i want to use eg. UcumEntry
Hint: The ‘template’ entry in this configuration file shouldn’t be deleted!