Manual:Hooks/SkinTemplateOutputPageBeforeExec

From MediaWiki.org

Jump to: navigation, search
SkinTemplateOutputPageBeforeExec
Available from version 1.10.0
allows further setup of the template engine after all standard setup has been performed but before the skin has been rendered

*Define function:
function fnMyHook( &$template, &$templateEngine ) { ... }

*Attach hook:
$wgHooks['SkinTemplateOutputPageBeforeExec'][] = 'fnMyHook';
Called from: SkinTemplate.php

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