Jump to main content Jump to doc navigation

modX::removeAllEventListener

Remove all registered events for the current request.

Syntax

API Doc: modX::removeAllEventListener()

void removeAllEventListener ()

Example

Eliminate any other events from firing:

$modx->removeAllEventListener();

See Also