FOFPlatformInterface::runPlugins
Execute plugins (system-level triggers) and fetch back an array with their return values.
Signature
public function runPlugins(string
$event,
array
$data )
Parameters
-
$event
- The event (trigger) name, e.g. onBeforeScratchMyEar
-
$data
- A hash array of data sent to the plugins as part of the trigger
Returns
- array
- A simple array containing the resutls of the plugins triggered