About Features Downloads Getting Started Documentation Events Support GitHub

Love VuFind®? Consider becoming a financial supporter. Your support helps build a better VuFind®!

Site Tools


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.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
development:plugins:content_provider_components [2015/12/10 18:37] demiankatzdevelopment:plugins:content_provider_components [2020/09/22 13:22] demiankatz
Line 9: Line 9:
 **Default Namespace:** \VuFind\Content **Default Namespace:** \VuFind\Content
  
-**Base Class:** [[https://github.com/vufind-org/vufind/blob/master/module/VuFind/src/VuFind/Content/Loader.php|\VuFind\Content\Loader]]+**Base Class:** [[https://github.com/vufind-org/vufind/blob/dev/module/VuFind/src/VuFind/Content/Loader.php|\VuFind\Content\Loader]]
  
 **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['content'] **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['content']
  
-**Service Manager Name for Service Locator:** VuFind\ContentPluginManager+**Service Manager Name for Service Locator:** VuFind\ContentPluginManager (VuFind 2.x-4.x), VuFind\Content\PluginManager (VuFind 5.0+)
  
 See the [[development:plugins:general_information|General Plugin Information]] page for more details on VuFind plugins. See the [[development:plugins:general_information|General Plugin Information]] page for more details on VuFind plugins.
  
-===== Author Notes Plugin Details =====+===== 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. // // These plugins retrieve information about the author of a particular title. //
Line 23: Line 26:
 **Default Namespace:** \VuFind\Content\AuthorNotes **Default Namespace:** \VuFind\Content\AuthorNotes
  
-**Base Class:** [[https://github.com/vufind-org/vufind/blob/master/module/VuFind/src/VuFind/Content/AbstractBase.php|\VuFind\Content\AbstractBase]]+**Base Class:** [[https://github.com/vufind-org/vufind/blob/dev/module/VuFind/src/VuFind/Content/AbstractBase.php|\VuFind\Content\AbstractBase]]
  
 **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['content_authornotes'] **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['content_authornotes']
  
-**Service Manager Name for Service Locator:** VuFind\ContentAuthorNotesPluginManager+**Service Manager Name for Service Locator:** VuFind\ContentAuthorNotesPluginManager (VuFind 2.x-4.x), VuFind\Content\AuthorNotes\PluginManager (VuFind 5.0+)
  
 See the [[development:plugins:general_information|General Plugin Information]] page for more details on VuFind plugins. See the [[development:plugins:general_information|General Plugin Information]] page for more details on VuFind plugins.
  
-===== Cover Plugin Details =====+==== 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. // // 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. //
Line 37: Line 40:
 **Default Namespace:** \VuFind\Content\Covers **Default Namespace:** \VuFind\Content\Covers
  
-**Base Class:** [[https://github.com/vufind-org/vufind/blob/master/module/VuFind/src/VuFind/Content/AbstractCover.php|\VuFind\Content\AbstractCover]]+**Base Class:** [[https://github.com/vufind-org/vufind/blob/dev/module/VuFind/src/VuFind/Content/AbstractCover.php|\VuFind\Content\AbstractCover]]
  
 **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['content_covers'] **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['content_covers']
  
-**Service Manager Name for Service Locator:** VuFind\ContentCoversPluginManager+**Service Manager Name for Service Locator:** VuFind\ContentCoversPluginManager (VuFind 2.x-4.x), VuFind\Content\Covers\PluginManager (VuFind 5.0+) 
 + 
 +See the [[development:plugins:general_information|General Plugin Information]] page for more details on VuFind plugins. 
 + 
 +==== Excerpts ==== 
 + 
 +// These plugins retrieve excerpts of a particular title. // 
 + 
 +**Default Namespace:** \VuFind\Content\Excerpts 
 + 
 +**Base Class:** [[https://github.com/vufind-org/vufind/blob/dev/module/VuFind/src/VuFind/Content/AbstractBase.php|\VuFind\Content\AbstractBase]] 
 + 
 +**Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['content_excerpts'
 + 
 +**Service Manager Name for Service Locator:** VuFind\ContentExcerptsPluginManager (VuFind 2.x-4.x), VuFind\Content\Excerpts\PluginManager (VuFind 5.0+) 
 + 
 +See the [[development:plugins:general_information|General Plugin Information]] page for more details on VuFind plugins. 
 + 
 +==== Reviews ==== 
 + 
 +// These plugins retrieve reviews of a particular title. // 
 + 
 +**Default Namespace:** \VuFind\Content\Reviews 
 + 
 +**Base Class:** [[https://github.com/vufind-org/vufind/blob/dev/module/VuFind/src/VuFind/Content/AbstractBase.php|\VuFind\Content\AbstractBase]] 
 + 
 +**Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['content_reviews'
 + 
 +**Service Manager Name for Service Locator:** VuFind\ContentReviewsPluginManager (VuFind 2.x-4.x), VuFind\Content\Reviews\PluginManager (VuFind 5.0+) 
 + 
 +See the [[development:plugins:general_information|General Plugin Information]] page for more details on VuFind plugins. 
 + 
 +==== Summaries ==== 
 + 
 +// These plugins retrieve summaries of a particular title. :!: Added in VuFind 5.0. // 
 + 
 +**Default Namespace:** \VuFind\Content\Summaries 
 + 
 +**Base Class:** [[https://github.com/vufind-org/vufind/blob/dev/module/VuFind/src/VuFind/Content/AbstractBase.php|\VuFind\Content\AbstractBase]] 
 + 
 +**Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['content_summaries'
 + 
 +**Service Manager Name for Service Locator:** VuFind\ContentSummariesPluginManager (VuFind 2.x-4.x), VuFind\Content\Summaries\PluginManager (VuFind 5.0+) 
 + 
 +See the [[development:plugins:general_information|General Plugin Information]] page for more details on VuFind plugins. 
 + 
 +==== Tables of Contents ==== 
 + 
 +// These plugins retrieve the table of contents for a particular title. :!: Added in VuFind 5.0. // 
 + 
 +**Default Namespace:** \VuFind\Content\TOC 
 + 
 +**Base Class:** [[https://github.com/vufind-org/vufind/blob/dev/module/VuFind/src/VuFind/Content/AbstractBase.php|\VuFind\Content\AbstractBase]] 
 + 
 +**Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['content_toc'
 + 
 +**Service Manager Name for Service Locator:** VuFind\ContentTOCPluginManager (VuFind 2.x-4.x), VuFind\Content\TOC\PluginManager (VuFind 5.0+)
  
 See the [[development:plugins:general_information|General Plugin Information]] page for more details on VuFind plugins. See the [[development:plugins:general_information|General Plugin Information]] page for more details on VuFind plugins.
development/plugins/content_provider_components.txt · Last modified: 2023/11/09 22:01 by demiankatz