MediaWiki REL1_39
MediaWiki\Hook\Collation__factoryHook Interface Reference

This is a hook handler interface, see docs/Hooks.md. More...

Inheritance diagram for MediaWiki\Hook\Collation__factoryHook:

Public Member Functions

 onCollation__factory ( $collationName, &$collationObject)
 This hook is called if $wgCategoryCollation is an unknown collation.
 

Detailed Description

This is a hook handler interface, see docs/Hooks.md.

Use the hook name "Collation::factory" to register handlers implementing this interface.

Stability: stable
to implement

Definition at line 15 of file Collation__factoryHook.php.

Member Function Documentation

◆ onCollation__factory()

MediaWiki\Hook\Collation__factoryHook::onCollation__factory ( $collationName,
& $collationObject )

This hook is called if $wgCategoryCollation is an unknown collation.

Since
1.35
Parameters
string$collationNameName of the collation in question
Collation | null&$collationObjectNull. Replace with a subclass of the Collation class that implements the collation given in $collationName.
Returns
bool|void True or no return value to continue or false to abort

Implemented in MediaWiki\HookContainer\HookRunner.


The documentation for this interface was generated from the following file: