| 1 | <?php |
||
| 11 | final class MapsHooks { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * Adds a link to Admin Links page. |
||
| 15 | * |
||
| 16 | * @since 0.7 |
||
| 17 | * |
||
| 18 | * @param ALTree $admin_links_tree |
||
| 19 | * |
||
| 20 | * @return boolean |
||
| 21 | */ |
||
| 22 | public static function addToAdminLinks( ALTree &$admin_links_tree ) { |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Adds global JavaScript variables. |
||
| 40 | * |
||
| 41 | * @since 1.0 |
||
| 42 | * @see http://www.mediawiki.org/wiki/Manual:Hooks/MakeGlobalVariablesScript |
||
| 43 | * @param array &$vars Variables to be added into the output |
||
| 44 | * @param OutputPage $outputPage OutputPage instance calling the hook |
||
| 45 | * @return boolean true in all cases |
||
| 46 | */ |
||
| 47 | public static function onMakeGlobalVariablesScript( array &$vars, OutputPage $outputPage ) { |
||
| 57 | |||
| 58 | } |
||
| 59 | |||
| 60 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.