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:database_gateways

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
development:plugins:database_gateways [2017/02/28 16:03] demiankatzdevelopment:plugins:database_gateways [2020/09/22 14:19] (current) demiankatz
Line 1: Line 1:
 ====== Database Gateway Plugins ====== ====== Database Gateway Plugins ======
  
-VuFind uses Zend Framework'table/row gateway classes to communicate with the database.  The plugin managers described here control how gateway objects are retrieved.+VuFind uses [[development:architecture:laminas|Laminas]]' table/row gateway classes to communicate with the database.  The plugin managers described here control how gateway objects are retrieved.
  
 ===== Table Gateways ===== ===== Table Gateways =====
Line 9: Line 9:
 **Default Namespace:** \VuFind\Db\Table **Default Namespace:** \VuFind\Db\Table
  
-**Base Class:** [[https://github.com/vufind-org/vufind/blob/master/module/VuFind/src/VuFind/Db/Table/Gateway.php|\VuFind\Db\Table\Gateway]]+**Base Class:** [[https://github.com/vufind-org/vufind/blob/dev/module/VuFind/src/VuFind/Db/Table/Gateway.php|\VuFind\Db\Table\Gateway]]
  
 **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['db_table'] **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['db_table']
  
-**Service Manager Name for Service Locator:** VuFind\DBTablePluginManager+**Service Manager Name for Service Locator:** VuFind\DBTablePluginManager (VuFind 2.x-4.x), VuFind\Db\Table\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.
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 plugin manager was added to allow direct row overriding.
  
 ==== Key Plugin Details ==== ==== Key Plugin Details ====
Line 25: Line 25:
 **Default Namespace:** \VuFind\Db\Row **Default Namespace:** \VuFind\Db\Row
  
-**Base Class:** [[https://github.com/vufind-org/vufind/blob/master/module/VuFind/src/VuFind/Db/Row/RowGateway.php|\VuFind\Db\Row\RowGateway]]+**Base Class:** [[https://github.com/vufind-org/vufind/blob/dev/module/VuFind/src/VuFind/Db/Row/RowGateway.php|\VuFind\Db\Row\RowGateway]]
  
 **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['db_row'] **Service Locator Configuration Section in module.config.php:** ['vufind']['plugin_managers']['db_row']
  
-**Service Manager Name for Service Locator:** VuFind\DBRowPluginManager+**Service Manager Name for Service Locator:** VuFind\DBRowPluginManager (VuFind 2.x-4.x), VuFind\Db\Row\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.
  
 ---- struct data ---- ---- struct data ----
 +properties.Page Owner : 
 ---- ----
  
development/plugins/database_gateways.1488297833.txt.gz · Last modified: 2017/02/28 16:03 by demiankatz