< Extension:MobileFrontend < Hooks
| MobileFrontendBeforeDOM | |
|---|---|
| Available from version 1.22.0 (Gerrit change 73207) Allows extensions to intercept right before MobileFrontend applies transformations to the DOM |
|
| Define function: | public static function onMobileFrontendBeforeDOM( MobileContext $context, MobileFormatter $formatter ) { ... }
|
| Attach hook: | $wgHooks['MobileFrontendBeforeDOM'][] = 'MyExtensionHooks::onMobileFrontendBeforeDOM';
|
| Called from: | File(s): MobileFrontend / includes/ExtMobileFrontend.php Function(s): domParse |
For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:MobileFrontendBeforeDOM extensions.
Parameters
$context: An instance ofMobileContext$formatter: An instance ofMobileFormatter
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.