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

This is an old revision of the document!


Database Gateway Plugins

VuFind uses Zend Framework's table/row gateway classes to communicate with the database. The plugin managers described here control how gateway objects are retrieved.

Table Gateways

Key Plugin Details

Default Namespace: \VuFind\Db\Table

Base Class: \VuFind\Db\Table\Gateway

Service Locator Configuration Section in module.config.php: ['vufind']['plugin_managers']['db_table']

Service Manager Name for Service Locator: VuFind\DBTablePluginManager

See the General Plugin Information page for more details on VuFind plugins.

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.

Key Plugin Details

Default Namespace: \VuFind\Db\Row

Base Class: \VuFind\Db\Row\RowGateway

Service Locator Configuration Section in module.config.php: ['vufind']['plugin_managers']['db_row']

Service Manager Name for Service Locator: VuFind\DBRowPluginManager

See the General Plugin Information page for more details on VuFind plugins.

development/plugins/database_gateways.1488297833.txt.gz · Last modified: 2017/02/28 16:03 by demiankatz