Index: trunk/phase3/includes/Hooks.php |
— | — | @@ -95,6 +95,8 @@ |
96 | 96 | |
97 | 97 | /* |
98 | 98 | * Invoke a function dynamically. |
| 99 | + * $event is the name of the invocation; this is used if the hook specifies |
| 100 | + * an object but no method name; 'on$event' is then invoked on the object. |
99 | 101 | * $hook can be: a function, an object, an array of $function and $data, |
100 | 102 | * an array of just a function, an array of object and method, or an |
101 | 103 | * array of object, method, and data. |