MediaWiki REL1_35
|
Public Member Functions | |
getDeprecatedHooks () | |
getExtensionHooks () | |
Get the current contents of the Hooks attribute in the ExtensionRegistry. | |
getGlobalHooks () | |
Get the current contents of the $wgHooks variable or a mocked substitute. | |
Definition at line 5 of file HookRegistry.php.
MediaWiki\HookContainer\HookRegistry::getDeprecatedHooks | ( | ) |
Implemented in MediaWiki\HookContainer\GlobalHookRegistry, and MediaWiki\HookContainer\StaticHookRegistry.
MediaWiki\HookContainer\HookRegistry::getExtensionHooks | ( | ) |
Get the current contents of the Hooks attribute in the ExtensionRegistry.
The contents is extended and normalized from the value of the corresponding attribute in extension.json. It does not contain "legacy" handlers, those are extracted into $wgHooks.
It is a three dimensional array:
Implemented in MediaWiki\HookContainer\GlobalHookRegistry, and MediaWiki\HookContainer\StaticHookRegistry.
MediaWiki\HookContainer\HookRegistry::getGlobalHooks | ( | ) |
Get the current contents of the $wgHooks variable or a mocked substitute.
Implemented in MediaWiki\HookContainer\GlobalHookRegistry, and MediaWiki\HookContainer\StaticHookRegistry.