Page MenuHomeWickedGov Phorge

ProcessAPIMessageGroupsPropertiesHook.php
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

ProcessAPIMessageGroupsPropertiesHook.php

<?php
declare( strict_types = 1 );
namespace MediaWiki\Extension\Translate\MessageGroupProcessing;
use MessageGroup;
/**
* This is a hook handler interface, see docs/Hooks.md in core.
* Use the hook name "TranslateProcessAPIMessageGroupsProperties" to register handlers implementing this interface.
*
* @stable to implement
* @ingroup Hooks
*/
interface ProcessAPIMessageGroupsPropertiesHook {
/**
* Allows extra property requests to be acted upon, and the new properties returned
*
* @param array &$a Associative array of the properties of $group that will be returned
* @param array $props Associative array ($name => true) of properties the user has specifically requested
* @param array $params Parameter input by the user (unprefixed name => value)
* @param MessageGroup $g The group in question
* @return bool|void True or no return value to continue or false to abort
*/
public function onTranslateProcessAPIMessageGroupsProperties(
array &$a,
array $props,
array $params,
MessageGroup $g
);
}

File Metadata

Mime Type
text/x-php
Expires
Sat, May 16, 22:07 (1 d, 3 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
0a/25/7f1213956de14fd2f5ce3b8e1997
Default Alt Text
ProcessAPIMessageGroupsPropertiesHook.php (1 KB)

Event Timeline