Jump to content

Extension:BibManager/Hooks/BibManagerGetIcons

From mediawiki.org
BibManagerGetIcons
Available from version ???
Use this hook to modify the icons in the tooltip and biblist
Define function:
public static function onBibManagerGetIcons( array $entry, array &$icons ) { ... }
Attach hook:
$wgHooks['BibManagerGetIcons'][] = 'MyExtensionHooks::onBibManagerGetIcons';
Called from:File(s): BibManager / includes/BibManagerHooks.php
Function(s): getIcons

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

Parameters

[edit]
  • $entry: An array representing a database row from the bibmanager table
  • &$icons: A modifiable array of icons