Index: trunk/extensions/Maps/Maps.php |
— | — | @@ -36,7 +36,7 @@ |
37 | 37 | echo '<b>Warning:</b> You need to have <a href="http://www.mediawiki.org/wiki/Extension:Validator">Validator</a> installed in order to use <a href="http://www.mediawiki.org/wiki/Extension:Maps">Maps</a>.'; |
38 | 38 | } |
39 | 39 | else { |
40 | | - define( 'Maps_VERSION', '0.7.3' ); |
| 40 | + define( 'Maps_VERSION', '0.7.4 alpha' ); |
41 | 41 | |
42 | 42 | // The different coordinate notations. |
43 | 43 | define( 'Maps_COORDS_FLOAT', 'float' ); |
Index: trunk/extensions/Maps/includes/Maps_KMLFormatter.php |
— | — | @@ -13,13 +13,28 @@ |
14 | 14 | class MapsKMLFormatter { |
15 | 15 | |
16 | 16 | /** |
| 17 | + * @since 0.7.4 |
| 18 | + * |
| 19 | + * @var array |
| 20 | + */ |
| 21 | + protected $params; |
| 22 | + |
| 23 | + /** |
17 | 24 | * @since 0.7.3 |
18 | 25 | * |
19 | 26 | * @var array of MapsLocation |
20 | 27 | */ |
21 | 28 | protected $placemarks; |
22 | 29 | |
23 | | - public function __construct() { |
| 30 | + /** |
| 31 | + * Constructor. |
| 32 | + * |
| 33 | + * @since 0.7.3 |
| 34 | + * |
| 35 | + * @param array $params |
| 36 | + */ |
| 37 | + public function __construct( array $params = array() ) { |
| 38 | + $this->params = $params; |
24 | 39 | $this->clearElements(); |
25 | 40 | } |
26 | 41 | |
— | — | @@ -152,4 +167,4 @@ |
153 | 168 | EOT; |
154 | 169 | } |
155 | 170 | |
156 | | -} |
\ No newline at end of file |
| 171 | +} |