dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e74714
)
wfInvoke documentation fix
author
David McCabe
<david@users.mediawiki.org>
Wed, 17 Dec 2008 07:05:42 +0000
(07:05 +0000)
committer
David McCabe
<david@users.mediawiki.org>
Wed, 17 Dec 2008 07:05:42 +0000
(07:05 +0000)
includes/Hooks.php
patch
|
blob
|
history
diff --git
a/includes/Hooks.php
b/includes/Hooks.php
index
15c7f9f
..
2fd9ab2
100644
(file)
--- 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.