MediaWiki fundraising/REL1_35
|
A HookRegistry which sources its data from dynamically changing sources: $wgHooks and an ExtensionRegistry. More...
Public Member Functions | |
__construct (ExtensionRegistry $extensionRegistry, DeprecatedHooks $deprecatedHooks) | |
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. | |
Private Attributes | |
DeprecatedHooks | $deprecatedHooks |
ExtensionRegistry | $extensionRegistry |
A HookRegistry which sources its data from dynamically changing sources: $wgHooks and an ExtensionRegistry.
Definition at line 11 of file GlobalHookRegistry.php.
MediaWiki\HookContainer\GlobalHookRegistry::__construct | ( | ExtensionRegistry | $extensionRegistry, |
DeprecatedHooks | $deprecatedHooks ) |
Definition at line 17 of file GlobalHookRegistry.php.
References MediaWiki\HookContainer\GlobalHookRegistry\$deprecatedHooks, and MediaWiki\HookContainer\GlobalHookRegistry\$extensionRegistry.
MediaWiki\HookContainer\GlobalHookRegistry::getDeprecatedHooks | ( | ) |
Implements MediaWiki\HookContainer\HookRegistry.
Definition at line 34 of file GlobalHookRegistry.php.
References MediaWiki\HookContainer\GlobalHookRegistry\$deprecatedHooks.
MediaWiki\HookContainer\GlobalHookRegistry::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:
Implements MediaWiki\HookContainer\HookRegistry.
Definition at line 30 of file GlobalHookRegistry.php.
MediaWiki\HookContainer\GlobalHookRegistry::getGlobalHooks | ( | ) |
Get the current contents of the $wgHooks variable or a mocked substitute.
Implements MediaWiki\HookContainer\HookRegistry.
Definition at line 25 of file GlobalHookRegistry.php.
References $wgHooks.
|
private |
Definition at line 15 of file GlobalHookRegistry.php.
Referenced by MediaWiki\HookContainer\GlobalHookRegistry\__construct(), and MediaWiki\HookContainer\GlobalHookRegistry\getDeprecatedHooks().
|
private |
Definition at line 13 of file GlobalHookRegistry.php.
Referenced by MediaWiki\HookContainer\GlobalHookRegistry\__construct().