Content-Length: 53809 | pFad | http://www.mediawiki.org/wiki/Manual:Hooks/EchoGetBundleRules

Extension:Echo/Hooks/EchoGetBundleRules - MediaWiki Jump to content

Extension:Echo/Hooks/EchoGetBundleRules

From mediawiki.org
EchoGetBundleRules
Available from version ??? (Gerrit change 52319)
Determines how the Echo notification should be bundled.
Define function:
public static function onEchoGetBundleRules( $event, &$bundleString ) { ... }
Attach hook:
$wgHooks['EchoGetBundleRules'][] = 'MyExtensionHooks::onEchoGetBundleRules';
Called from:File(s): Echo / Notifier.php, Notification.php
Function(s): notifyWithEmail

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

Details

[edit]
  • $event - your notification type
  • &$bundleString - determines which messages go into which bundle, so for the same bundle, return the same $bundleString








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://www.mediawiki.org/wiki/Manual:Hooks/EchoGetBundleRules

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy