eg we have on event
Piwik::postEvent('API.Request.dispatch', array(&$finalParameters, $pluginName, $methodName));
and another event
I'd expect to have similar parameters in
$pluginName, $methodName as parameter).
Also the naming is inconsistent. Sometimes we say
....end event it's named
Same applies for
The events in FrontController are even more inconsistent. Eg we have
Piwik::postEvent(sprintf('Controller.%s.%s.end', $module, $action), array(&$result, $parameters));
Piwik::postEvent('Request.dispatch.end', array(&$result, $module, $action, $parameters));
.end events should post same parameters. In general instead of
module we could also use
plugin maybe but not sure.
plugin might be more clear for 3rd party developers what is meant
This is something for 3.0 or 4.0
Actually closing this issue as I realise it's actually all good. It could be slightly tweaked eg the
API.Request.dispatch.end event to post pluginName and methodName directly, but it's not really worth making any change there for now.