About Features Downloads Getting Started Documentation Events Support GitHub

Site Tools


development:plugins:ajax_handlers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

development:plugins:ajax_handlers [2018/03/21 12:41] (current)
demiankatz created
Line 1: Line 1:
 +====== AJAX Handler Plugins ======
  
 +Starting with VuFind 5.0, the AjaxController was refactored so that it calls plugins for handling AJAX requests. If you need to expose data to an AJAX call, you can simply build a new plugin and add it to the appropriate plugin manager.
 +
 +===== Key Plugin Details =====
 +
 +**Default Namespace:​** \VuFind\AjaxHandler
 +
 +**Base Class:** [[https://​github.com/​vufind-org/​vufind/​blob/​master/​module/​VuFind/​src/​VuFind/​AjaxHandler/​AbstractBase.php|\VuFind\AjaxHandler\AbstractBase]]
 +
 +**Service Locator Configuration Section in module.config.php:​** ['​vufind'​]['​plugin_managers'​]['​ajaxhandler'​]
 +
 +**Service Manager Name for Service Locator:** VuFind\AjaxHandler\PluginManager
 +
 +See the [[development:​plugins:​general_information|General Plugin Information]] page for more details on VuFind plugins.
development/plugins/ajax_handlers.txt · Last modified: 2018/03/21 12:41 by demiankatz