< Extension:MobileFrontend < Hooks
| GetMobileUrl | |
|---|---|
| Available from version 1.20.0 (Gerrit change 4377) |
|
| Define function: | public static function onGetMobileUrl( &$subdomainTokenReplacement, MobileContext $mobileContext ) { ... }
|
| Attach hook: | $wgHooks['GetMobileUrl'][] = 'MyExtensionHooks::onGetMobileUrl';
|
| Called from: | File(s): MobileFrontend / includes/MobileContext.php Function(s): getMobileUrl |
For more information about attaching hooks, see Manual:Hooks.
For examples of other extensions using this hook, see Category:GetMobileUrl extensions.
Parameters
&$subdomainTokenReplacement: A modifiable value that defaults tonull.$mobileContext: An instance ofMobileContext
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.