From ed8f5b04f0e505e84b21d617551eaba2e6447a10 Mon Sep 17 00:00:00 2001 From: David McCabe Date: Wed, 17 Dec 2008 07:05:42 +0000 Subject: [PATCH] wfInvoke documentation fix --- includes/Hooks.php | 2 ++ 1 file changed, 2 insertions(+) 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. -- 2.20.1