Jump to main content Jump to doc navigation

modX.getEventMap

Other versions: 3.x — Found a problem? Please edit this page or report an issue.

modX::getEventMap

Gets a map of events and registered plugins for the specified context.

Syntax

API Doc: http://api.modx.com/revolution/2.2/db_core_model_modx_modx.class.html#%5CmodX::getEventMap()

array getEventMap (string $contextKey)

Example

Get the event map for the current Context.

$map = $modx->getEventMap();

See Also