MediaWiki  master
IsTrustedProxyHook.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Hook;
4 
12 interface IsTrustedProxyHook {
22  public function onIsTrustedProxy( $ip, &$result );
23 }
MediaWiki\Hook\IsTrustedProxyHook\onIsTrustedProxy
onIsTrustedProxy( $ip, &$result)
Use this hook to override the result of ProxyLookup::isTrustedProxy().
MediaWiki\Hook
Definition: ActionBeforeFormDisplayHook.php:3
MediaWiki\Hook\IsTrustedProxyHook
This is a hook handler interface, see docs/Hooks.md.
Definition: IsTrustedProxyHook.php:12