@@ -19,6 +19,9 @@ |
||
19 | 19 | |
20 | 20 | private static $ctr = 0; |
21 | 21 | |
22 | + /** |
|
23 | + * @param string[] $buttonText |
|
24 | + */ |
|
22 | 25 | public function __construct($children = array(), $buttonText = null) { |
23 | 26 | self::$ctr++; |
24 | 27 |
@@ -10,6 +10,10 @@ |
||
10 | 10 | protected $headingLevel = 2; |
11 | 11 | private $divId; |
12 | 12 | |
13 | + /** |
|
14 | + * @param string $name |
|
15 | + * @param string $title |
|
16 | + */ |
|
13 | 17 | function __construct($name, $title = null, $headingLevel = 2, $allowHTML = false, $form = null) { |
14 | 18 | $this->divId = $name; |
15 | 19 | // legacy handling for old parameters: $title, $heading, ... |
@@ -79,6 +79,9 @@ discard block |
||
79 | 79 | } |
80 | 80 | |
81 | 81 | |
82 | + /** |
|
83 | + * @param boolean $new_map_already_rendered |
|
84 | + */ |
|
82 | 85 | public static function set_map_already_rendered($new_map_already_rendered) { |
83 | 86 | self::$map_already_rendered = $new_map_already_rendered; |
84 | 87 | } |
@@ -155,7 +158,7 @@ discard block |
||
155 | 158 | /** |
156 | 159 | * Get a new GoogleMapAPI object and load it with the default settings |
157 | 160 | * |
158 | - * @return GoogleMapAPI |
|
161 | + * @return MapAPI |
|
159 | 162 | */ |
160 | 163 | public static function instance() |
161 | 164 | { |