Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F1426925
APIGetAllowedParamsHook.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
685 B
Referenced Files
None
Subscribers
None
APIGetAllowedParamsHook.php
View Options
<?php
namespace
MediaWiki\Api\Hook
;
use
MediaWiki\Api\ApiBase
;
/**
* This is a hook handler interface, see docs/Hooks.md.
* Use the hook name "APIGetAllowedParams" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface
APIGetAllowedParamsHook
{
/**
* Use this hook to modify a module's parameters.
*
* @since 1.35
*
* @param ApiBase $module
* @param array &$params Array of parameters
* @param int $flags Zero or OR-ed flags like ApiBase::GET_VALUES_FOR_HELP
* @return bool|void True or no return value to continue or false to abort
*/
public
function
onAPIGetAllowedParams
(
$module
,
&
$params
,
$flags
);
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 16, 13:55 (1 d, 18 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
b4/d1/f85fd7d444c187cfae68621b39de
Default Alt Text
APIGetAllowedParamsHook.php (685 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment