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:ajax_handlers
no way to compare when less than two revisions

Differences

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


Last revision
development:plugins:ajax_handlers [2018/03/21 12:41] – created demiankatz
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.
 +---- struct data ----
 +----
  
development/plugins/ajax_handlers.txt · Last modified: 2020/09/22 14:37 by demiankatz