Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:plugins:content_provider_components
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
development:plugins:content_provider_components [2015/12/10 18:26] – created demiankatz | development:plugins:content_provider_components [2023/11/09 22:01] (current) – demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Content Provider Components ====== | ====== Content Provider Components ====== | ||
- | Starting in VuFind | + | Starting in VuFind® |
+ | ===== Content Loader Plugin Details ===== | ||
+ | |||
+ | // Each " | ||
+ | |||
+ | **Default Namespace: | ||
+ | |||
+ | **Base Class:** [[https:// | ||
+ | |||
+ | **Service Locator Configuration Section in module.config.php: | ||
+ | |||
+ | **Service Manager Name for Service Locator:** VuFind\ContentPluginManager (VuFind® 2.x-4.x), VuFind\Content\PluginManager (VuFind® 5.0+) | ||
+ | |||
+ | See the [[development: | ||
+ | |||
+ | ===== Content-Specific Plugin Details ===== | ||
+ | |||
+ | // Each content loader (described above) returns plugins of one of the types described below. // | ||
+ | ==== Author Notes ==== | ||
+ | |||
+ | // These plugins retrieve information about the author of a particular title. // | ||
+ | |||
+ | **Default Namespace: | ||
+ | |||
+ | **Base Class:** [[https:// | ||
+ | |||
+ | **Service Locator Configuration Section in module.config.php: | ||
+ | |||
+ | **Service Manager Name for Service Locator:** VuFind\ContentAuthorNotesPluginManager (VuFind® 2.x-4.x), VuFind\Content\AuthorNotes\PluginManager (VuFind® 5.0+) | ||
+ | |||
+ | See the [[development: | ||
+ | |||
+ | ==== Covers ==== | ||
+ | |||
+ | // Cover drivers are used for retrieving cover image data. They accept an array of ID values and return the URL to an image. Building a new plugin usually consists of setting some flags in the constructor to indicate which types of identifier are supported, then building a method to convert those identifiers into a valid URL. // | ||
+ | |||
+ | **Default Namespace: | ||
+ | |||
+ | **Base Class:** [[https:// | ||
+ | |||
+ | **Service Locator Configuration Section in module.config.php: | ||
+ | |||
+ | **Service Manager Name for Service Locator:** VuFind\ContentCoversPluginManager (VuFind® 2.x-4.x), VuFind\Content\Covers\PluginManager (VuFind® 5.0+) | ||
+ | |||
+ | See the [[development: | ||
+ | |||
+ | ==== Excerpts ==== | ||
+ | |||
+ | // These plugins retrieve excerpts of a particular title. // | ||
+ | |||
+ | **Default Namespace: | ||
+ | |||
+ | **Base Class:** [[https:// | ||
+ | |||
+ | **Service Locator Configuration Section in module.config.php: | ||
+ | |||
+ | **Service Manager Name for Service Locator:** VuFind\ContentExcerptsPluginManager (VuFind® 2.x-4.x), VuFind\Content\Excerpts\PluginManager (VuFind® 5.0+) | ||
+ | |||
+ | See the [[development: | ||
+ | |||
+ | ==== Reviews ==== | ||
+ | |||
+ | // These plugins retrieve reviews of a particular title. // | ||
+ | |||
+ | **Default Namespace: | ||
+ | |||
+ | **Base Class:** [[https:// | ||
+ | |||
+ | **Service Locator Configuration Section in module.config.php: | ||
+ | |||
+ | **Service Manager Name for Service Locator:** VuFind\ContentReviewsPluginManager (VuFind® 2.x-4.x), VuFind\Content\Reviews\PluginManager (VuFind® 5.0+) | ||
+ | |||
+ | See the [[development: | ||
+ | |||
+ | ==== Summaries ==== | ||
+ | |||
+ | // These plugins retrieve summaries of a particular title. :!: Added in VuFind® 5.0. // | ||
+ | |||
+ | **Default Namespace: | ||
+ | |||
+ | **Base Class:** [[https:// | ||
+ | |||
+ | **Service Locator Configuration Section in module.config.php: | ||
+ | |||
+ | **Service Manager Name for Service Locator:** VuFind\ContentSummariesPluginManager (VuFind® 2.x-4.x), VuFind\Content\Summaries\PluginManager (VuFind® 5.0+) | ||
+ | |||
+ | See the [[development: | ||
+ | |||
+ | ==== Tables of Contents ==== | ||
+ | |||
+ | // These plugins retrieve the table of contents for a particular title. :!: Added in VuFind® 5.0. // | ||
+ | |||
+ | **Default Namespace: | ||
+ | |||
+ | **Base Class:** [[https:// | ||
+ | |||
+ | **Service Locator Configuration Section in module.config.php: | ||
+ | |||
+ | **Service Manager Name for Service Locator:** VuFind\ContentTOCPluginManager (VuFind® 2.x-4.x), VuFind\Content\TOC\PluginManager (VuFind® 5.0+) | ||
+ | |||
+ | See the [[development: | ||
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
development/plugins/content_provider_components.1449771992.txt.gz · Last modified: 2015/12/10 18:26 by demiankatz