1 | <?php |
||
15 | final class SemanticMapsHooks { |
||
16 | |||
17 | /** |
||
18 | * Adds a link to Admin Links page. |
||
19 | * |
||
20 | * @since 0.7 |
||
21 | * |
||
22 | * @param ALTree $admin_links_tree |
||
23 | * |
||
24 | * @return boolean |
||
25 | */ |
||
26 | public static function addToAdminLinks( ALTree &$admin_links_tree ) { |
||
41 | |||
42 | /** |
||
43 | * Adds support for the geographical coordinates and shapes data type to Semantic MediaWiki. |
||
44 | * |
||
45 | * @since 2.0 |
||
46 | * |
||
47 | * @return boolean |
||
48 | */ |
||
49 | public static function initGeoDataTypes() { |
||
64 | |||
65 | /** |
||
66 | * Set the default format to 'map' when the requested properties are |
||
67 | * of type geographic coordinates. |
||
68 | * |
||
69 | * TODO: have a setting to turn this off and have it off by default for #show |
||
70 | * |
||
71 | * @since 1.0 |
||
72 | * |
||
73 | * @param $format Mixed: The format (string), or false when not set yet |
||
74 | * @param $printRequests Array: The print requests made |
||
75 | * @param $params Array: The parameters for the query printer |
||
76 | * |
||
77 | * @return boolean |
||
78 | */ |
||
79 | public static function addGeoCoordsDefaultFormat( &$format, array $printRequests, array $params ) { |
||
116 | |||
117 | } |
||
118 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.