Index: trunk/extensions/SemanticMaps/Services/YahooMaps/SM_YahooMapsFunctions.js |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | /** |
3 | | - * Javascript functions for Yahoo! Maps functionallity in Semantic Maps |
| 3 | + * Javascript functions for Yahoo! Maps functionality in Semantic Maps |
4 | 4 | * |
5 | 5 | * @file SM_YahooMapsFunctions.js |
6 | 6 | * @ingroup SMYahooMaps |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | */ |
10 | 10 | |
11 | 11 | /** |
12 | | - * This function holds spesific functionallity for the Yahoo! Maps form input of Semantic Maps |
| 12 | + * This function holds specific functionality for the Yahoo! Maps form input of Semantic Maps |
13 | 13 | * TODO: Refactor as much code as possible to non specific functions |
14 | 14 | */ |
15 | 15 | function makeFormInputYahooMap(mapName, locationFieldName, lat, lon, zoom, type, types, controls, scrollWheelZoom, marker_lat, marker_lon) { |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | } |
38 | 38 | |
39 | 39 | /** |
40 | | - * This function holds spesific functionallity for the Yahoo! Maps form input of Semantic Maps |
| 40 | + * This function holds specific functionality for the Yahoo! Maps form input of Semantic Maps |
41 | 41 | * TODO: Refactor as much code as possible to non specific functions |
42 | 42 | */ |
43 | 43 | function showYAddress(address, mapName, outputElementName, notFoundFormat) { |
— | — | @@ -51,4 +51,4 @@ |
52 | 52 | document.getElementById(outputElementName).value = convertLatToDMS(resultObj.GeoPoint.Lat) + ', ' + convertLngToDMS(resultObj.GeoPoint.Lon); |
53 | 53 | } |
54 | 54 | ); |
55 | | -} |
\ No newline at end of file |
| 55 | +} |
Index: trunk/extensions/SemanticMaps/Services/YahooMaps/SM_YahooMapsQP.php |
— | — | @@ -86,7 +86,7 @@ |
87 | 87 | } |
88 | 88 | |
89 | 89 | /** |
90 | | - * Returns type info, descriptions and allowed values for this QP's parameters after adding the spesific ones to the list. |
| 90 | + * Returns type info, descriptions and allowed values for this QP's parameters after adding the specific ones to the list. |
91 | 91 | */ |
92 | 92 | public function getParameters() { |
93 | 93 | $params = parent::getParameters(); |
— | — | @@ -101,4 +101,4 @@ |
102 | 102 | return $params; |
103 | 103 | } |
104 | 104 | |
105 | | -} |
\ No newline at end of file |
| 105 | +} |
Index: trunk/extensions/SemanticMaps/Services/YahooMaps/SM_YahooMapsFormInput.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | |
19 | 19 | public $serviceName = MapsYahooMaps::SERVICE_NAME; |
20 | 20 | |
21 | | - protected $spesificParameters = array(); |
| 21 | + protected $specificParameters = array(); |
22 | 22 | |
23 | 23 | /** |
24 | 24 | * @see MapsMapFeature::setMapSettings() |
Index: trunk/extensions/SemanticMaps/Services/OpenLayers/SM_OpenLayersFunctions.js |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | /** |
3 | | - * Javascript functions for OpenLayers functionallity in Semantic Maps |
| 3 | + * Javascript functions for OpenLayers functionality in Semantic Maps |
4 | 4 | * |
5 | 5 | * @file SM_OpenLayersFunctions.js |
6 | 6 | * @ingroup SMOpenLayers |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | */ |
10 | 10 | |
11 | 11 | /** |
12 | | - * This function holds spesific functionallity for the Open Layers form input of Semantic Maps |
| 12 | + * This function holds specific functionality for the Open Layers form input of Semantic Maps |
13 | 13 | */ |
14 | 14 | function makeFormInputOpenLayer(mapName, locationFieldName, lat, lon, zoom, marker_lat, marker_lon, layers, controls, height) { |
15 | 15 | var markers = Array(); |
— | — | @@ -95,4 +95,4 @@ |
96 | 96 | for (var i = 0; i < markerCollection.length; i++) { |
97 | 97 | markerLayer.removeMarker(markerCollection[i]); |
98 | 98 | } |
99 | | -} |
\ No newline at end of file |
| 99 | +} |
Index: trunk/extensions/SemanticMaps/Services/OpenLayers/SM_OpenLayersQP.php |
— | — | @@ -89,7 +89,7 @@ |
90 | 90 | } |
91 | 91 | |
92 | 92 | /** |
93 | | - * Returns type info, descriptions and allowed values for this QP's parameters after adding the spesific ones to the list. |
| 93 | + * Returns type info, descriptions and allowed values for this QP's parameters after adding the specific ones to the list. |
94 | 94 | */ |
95 | 95 | public function getParameters() { |
96 | 96 | $params = parent::getParameters(); |
Index: trunk/extensions/SemanticMaps/Services/OpenLayers/SM_OpenLayersFormInput.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | |
19 | 19 | public $serviceName = MapsOpenLayers::SERVICE_NAME; |
20 | 20 | |
21 | | - protected $spesificParameters = array(); |
| 21 | + protected $specificParameters = array(); |
22 | 22 | |
23 | 23 | /** |
24 | 24 | * @see MapsMapFeature::setMapSettings() |
Index: trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsFunctions.js |
— | — | @@ -1,5 +1,5 @@ |
2 | 2 | /** |
3 | | - * Javascript functions for Google Maps functionallity in Semantic Maps |
| 3 | + * Javascript functions for Google Maps functionality in Semantic Maps |
4 | 4 | * |
5 | 5 | * @file SM_GoogleMapFunctions.js |
6 | 6 | * @ingroup SMGoogleMaps |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | */ |
10 | 10 | |
11 | 11 | /** |
12 | | - * This function holds spesific functionallity for the Google Maps form input of Semantic Maps |
| 12 | + * This function holds specific functionality for the Google Maps form input of Semantic Maps |
13 | 13 | * TODO: Refactor as much code as possible to non specific functions |
14 | 14 | */ |
15 | 15 | function makeGoogleMapFormInput(mapName, locationFieldName, mapOptions, marker_lat, marker_lon) { |
— | — | @@ -42,7 +42,7 @@ |
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
46 | | - * This function holds spesific functionallity for the Google Maps form input of Semantic Maps |
| 46 | + * This function holds specific functionality for the Google Maps form input of Semantic Maps |
47 | 47 | */ |
48 | 48 | function showGAddress(address, mapName, outputElementName, notFoundFormat) { |
49 | 49 | var map = GMaps[mapName]; |
— | — | @@ -62,4 +62,4 @@ |
63 | 63 | } |
64 | 64 | ); |
65 | 65 | |
66 | | -} |
\ No newline at end of file |
| 66 | +} |
Index: trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsQP.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | |
20 | 20 | public $serviceName = MapsGoogleMaps::SERVICE_NAME; |
21 | 21 | |
22 | | - protected $spesificParameters; |
| 22 | + protected $specificParameters; |
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @see SMMapPrinter::setQueryPrinterSettings() |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | |
32 | 32 | $this->defaultZoom = $egMapsGoogleMapsZoom; |
33 | 33 | |
34 | | - $this->spesificParameters = array( |
| 34 | + $this->specificParameters = array( |
35 | 35 | 'overlays' => array( |
36 | 36 | 'type' => array( 'string', 'list' ), |
37 | 37 | 'criteria' => array( |
— | — | @@ -107,7 +107,7 @@ |
108 | 108 | } |
109 | 109 | |
110 | 110 | /** |
111 | | - * Returns type info, descriptions and allowed values for this QP's parameters after adding the spesific ones to the list. |
| 111 | + * Returns type info, descriptions and allowed values for this QP's parameters after adding the specific ones to the list. |
112 | 112 | */ |
113 | 113 | public function getParameters() { |
114 | 114 | $params = parent::getParameters(); |
— | — | @@ -123,4 +123,4 @@ |
124 | 124 | return $params; |
125 | 125 | } |
126 | 126 | |
127 | | -} |
\ No newline at end of file |
| 127 | +} |
Index: trunk/extensions/SemanticMaps/Services/GoogleMaps/SM_GoogleMapsFormInput.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | |
21 | 21 | public $serviceName = MapsGoogleMaps::SERVICE_NAME; |
22 | 22 | |
23 | | - protected $spesificParameters = array(); |
| 23 | + protected $specificParameters = array(); |
24 | 24 | |
25 | 25 | /** |
26 | 26 | * @see MapsMapFeature::setMapSettings() |
Index: trunk/extensions/SemanticMaps/Features/FormInputs/SM_FormInput.php |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | <?php |
3 | 3 | |
4 | 4 | /** |
5 | | - * Abstract class that provides the common functionallity for all map form inputs |
| 5 | + * Abstract class that provides the common functionality for all map form inputs |
6 | 6 | * |
7 | 7 | * @file SM_FormInput.php |
8 | 8 | * @ingroup SemanticMaps |
— | — | @@ -56,13 +56,13 @@ |
57 | 57 | /* |
58 | 58 | * Assembliy of the allowed parameters and their information. |
59 | 59 | * The main parameters (the ones that are shared by everything) are overidden |
60 | | - * by the feature parameters (the ones spesific to a feature). The result is then |
61 | | - * again overidden by the service parameters (the ones spesific to the service), |
62 | | - * and finally by the spesific parameters (the ones spesific to a service-feature combination). |
| 60 | + * by the feature parameters (the ones specific to a feature). The result is then |
| 61 | + * again overidden by the service parameters (the ones specific to the service), |
| 62 | + * and finally by the specific parameters (the ones specific to a service-feature combination). |
63 | 63 | */ |
64 | 64 | $parameterInfo = array_merge_recursive( MapsMapper::getCommonParameters(), SMFormInputs::$parameters ); |
65 | 65 | $parameterInfo = array_merge_recursive( $parameterInfo, $egMapsServices[$this->serviceName]['parameters'] ); |
66 | | - $parameterInfo = array_merge_recursive( $parameterInfo, $this->spesificParameters ); |
| 66 | + $parameterInfo = array_merge_recursive( $parameterInfo, $this->specificParameters ); |
67 | 67 | |
68 | 68 | $manager = new ValidatorManager(); |
69 | 69 | |
— | — | @@ -269,4 +269,4 @@ |
270 | 270 | private static function getDynamicInput( $id, $value, $args = '' ) { |
271 | 271 | return '<input id="' . $id . '" ' . $args . ' value="' . $value . '" onfocus="if (this.value==\'' . $value . '\') {this.value=\'\';}" onblur="if (this.value==\'\') {this.value=\'' . $value . '\';}" />'; |
272 | 272 | } |
273 | | -} |
\ No newline at end of file |
| 273 | +} |
Index: trunk/extensions/SemanticMaps/Features/QueryPrinters/SM_MapPrinter.php |
— | — | @@ -16,7 +16,7 @@ |
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
20 | | - * Abstract class that provides the common functionallity for all map query printers. |
| 20 | + * Abstract class that provides the common functionality for all map query printers. |
21 | 21 | * |
22 | 22 | * @ingroup SemanticMaps |
23 | 23 | * |
— | — | @@ -34,7 +34,7 @@ |
35 | 35 | protected abstract function setQueryPrinterSettings(); |
36 | 36 | |
37 | 37 | /** |
38 | | - * Map service spesific map count and loading of dependencies |
| 38 | + * Map service specific map count and loading of dependencies |
39 | 39 | */ |
40 | 40 | protected abstract function doMapServiceLoad(); |
41 | 41 | |
— | — | @@ -58,7 +58,7 @@ |
59 | 59 | protected $mMapFeature; |
60 | 60 | |
61 | 61 | protected $featureParameters = array(); |
62 | | - protected $spesificParameters = array(); |
| 62 | + protected $specificParameters = array(); |
63 | 63 | |
64 | 64 | /** |
65 | 65 | * Builds up and returns the HTML for the map, with the queried coordinate data on it. |
— | — | @@ -110,13 +110,13 @@ |
111 | 111 | /* |
112 | 112 | * Assembliy of the allowed parameters and their information. |
113 | 113 | * The main parameters (the ones that are shared by everything) are overidden |
114 | | - * by the feature parameters (the ones spesific to a feature). The result is then |
115 | | - * again overidden by the service parameters (the ones spesific to the service), |
116 | | - * and finally by the spesific parameters (the ones spesific to a service-feature combination). |
| 114 | + * by the feature parameters (the ones specific to a feature). The result is then |
| 115 | + * again overidden by the service parameters (the ones specific to the service), |
| 116 | + * and finally by the specific parameters (the ones specific to a service-feature combination). |
117 | 117 | */ |
118 | 118 | $parameterInfo = array_merge_recursive( MapsMapper::getCommonParameters(), $this->featureParameters ); |
119 | 119 | $parameterInfo = array_merge_recursive( $parameterInfo, $egMapsServices[$this->serviceName]['parameters'] ); |
120 | | - $parameterInfo = array_merge_recursive( $parameterInfo, $this->spesificParameters ); |
| 120 | + $parameterInfo = array_merge_recursive( $parameterInfo, $this->specificParameters ); |
121 | 121 | |
122 | 122 | $manager = new ValidatorManager(); |
123 | 123 | |
— | — | @@ -357,4 +357,4 @@ |
358 | 358 | return $params; |
359 | 359 | } |
360 | 360 | |
361 | | -} |
\ No newline at end of file |
| 361 | +} |