Warning: This page has not been updated in over over a year and may be outdated or deprecated.
development:plugins:database_gateways
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
development:plugins:database_gateways [2017/02/28 16:03] – demiankatz | development:plugins:database_gateways [2020/09/22 14:19] (current) – demiankatz | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Database Gateway Plugins ====== | ====== Database Gateway Plugins ====== | ||
- | VuFind uses Zend Framework's table/row gateway classes to communicate with the database. | + | VuFind uses [[development: |
===== Table Gateways ===== | ===== Table Gateways ===== | ||
Line 9: | Line 9: | ||
**Default Namespace: | **Default Namespace: | ||
- | **Base Class:** [[https:// | + | **Base Class:** [[https:// |
**Service Locator Configuration Section in module.config.php: | **Service Locator Configuration Section in module.config.php: | ||
- | **Service Manager Name for Service Locator:** VuFind\DBTablePluginManager | + | **Service Manager Name for Service Locator:** VuFind\DBTablePluginManager |
See the [[development: | See the [[development: | ||
Line 19: | Line 19: | ||
===== Row Gateways ===== | ===== Row Gateways ===== | ||
- | :!: Prior to VuFind 4.0, each table class specifies the associated row class, so if you need to override a row class, you also need to override the table class, if only to change how it loads rows. Starting in release 4.0, this plugin manager was added to allow direct row overriding. | + | :!: Prior to VuFind 4.0, each table class specifies the associated row class, so if you need to override a row class, you also need to override the table class, if only to change how it loads rows. Starting in release 4.0, the row-specific |
==== Key Plugin Details ==== | ==== Key Plugin Details ==== | ||
Line 25: | Line 25: | ||
**Default Namespace: | **Default Namespace: | ||
- | **Base Class:** [[https:// | + | **Base Class:** [[https:// |
**Service Locator Configuration Section in module.config.php: | **Service Locator Configuration Section in module.config.php: | ||
- | **Service Manager Name for Service Locator:** VuFind\DBRowPluginManager | + | **Service Manager Name for Service Locator:** VuFind\DBRowPluginManager |
See the [[development: | See the [[development: | ||
---- struct data ---- | ---- struct data ---- | ||
+ | properties.Page Owner : | ||
---- | ---- | ||
development/plugins/database_gateways.1488297833.txt.gz · Last modified: 2017/02/28 16:03 by demiankatz