addEventListener

Last edited by JP DeVries on Aug 10, 2013.

API:addEventListener

API Quick reference
Variable name: addEventListener
Modx versions: 0.9.x + Evolution
Input parameters:  
Return if successful:  
Return type: int
Return on failure:  
Object parent: DocumentParser

Description / Usage

string addEventListener($evtName, $pluginName);

Add an event listner to a plugin - only for use within the current execution cycle.

Examples

Notes

Function Source

Suggest an edit to this page on GitHub (Requires GitHub account. Opens a new window/tab).