From: David McCabe Date: Wed, 17 Dec 2008 07:05:42 +0000 (+0000) Subject: wfInvoke documentation fix X-Git-Tag: 1.31.0-rc.0~43918 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_aide%28?a=commitdiff_plain;h=ed8f5b04f0e505e84b21d617551eaba2e6447a10;p=lhc%2Fweb%2Fwiklou.git wfInvoke documentation fix --- diff --git a/includes/Hooks.php b/includes/Hooks.php index 15c7f9f2ee..2fd9ab245e 100644 --- a/includes/Hooks.php +++ b/includes/Hooks.php @@ -95,6 +95,8 @@ function wfFormatInvocation($event, $hook, $args = array()) { /* * Invoke a function dynamically. + * $event is the name of the invocation; this is used if the hook specifies + * an object but no method name; 'on$event' is then invoked on the object. * $hook can be: a function, an object, an array of $function and $data, * an array of just a function, an array of object and method, or an * array of object, method, and data.