MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onIsTrustedProxy ( $ip, &$result) | |
Use this hook to override the result of ProxyLookup::isTrustedProxy(). | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "IsTrustedProxy" to register handlers implementing this interface.
Definition at line 12 of file IsTrustedProxyHook.php.
MediaWiki\Hook\IsTrustedProxyHook::onIsTrustedProxy | ( | $ip, | |
& | $result | ||
) |
Use this hook to override the result of ProxyLookup::isTrustedProxy().
string | $ip | IP being checked |
bool | &$result | Change this value to override the result of ProxyLookup::isTrustedProxy() |
Implemented in MediaWiki\HookContainer\HookRunner.