Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F7698
GetIPHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
512 B
Referenced Files
None
Subscribers
None
GetIPHook.php
View Options
<?php
namespace
MediaWiki\Hook
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "GetIP" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
GetIPHook
{
/**
* Use this hook to modify the IP of the current user (called only once).
*
* @since 1.35
*
* @param string &$ip IP as determined so far
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onGetIP
(
&
$ip
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Wed, Sep 10, 14:09 (15 h, 49 m)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
58/20/53a546dcaa03be1874a3a902960f
Default Alt Text
GetIPHook.php (512 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment