Extension:OreDict/Hooks/OreDictOutput

From Linux Web Expert

OreDictOutput
Available from version ???
The interface between the OreDict extension and the Tilesheets extension for rendering an OreDict entry.
Define function:
public static function onOreDictOutput( &$out, $items, $params ) { ... }
Attach hook:
$wgHooks['OreDictOutput'][] = 'MyExtensionHooks::onOreDictOutput';
Called from:File(s): OreDict / OreDict.body.php
Function(s): runHooks

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:OreDictOutput extensions.

Parameters

  • &$out: the output string
  • $items: an array of OreDictItem objects
  • $params: (string) the parameters passed to the parser function calling this hook