< Extension:XAnalytics < Hooks
XAnalyticsSetHeader
Available from version 0.1 (Gerrit change 202801)
Add additional items to the X-Analytics header
Define function:
public static function onXAnalyticsSetHeader( OutputPage $out, array &$headerItems ) { ... }
Attach hook:
$wgHooks['XAnalyticsSetHeader'][] = 'MyExtensionHooks::onXAnalyticsSetHeader';
Called from:File(s): XAnalytics / XAnalytics.php
Function(s): generateHeader

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

This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.