@@ -639,6 +639,10 @@ |
||
| 639 | 639 | # STATIC METHODS |
| 640 | 640 | ################################ |
| 641 | 641 | |
| 642 | + /** |
|
| 643 | + * @param DataList $pages |
|
| 644 | + * @param DataList $dataPoints |
|
| 645 | + */ |
|
| 642 | 646 | public static function xml_sheet( |
| 643 | 647 | $pages = null, |
| 644 | 648 | $dataPoints = null, |
@@ -200,8 +200,8 @@ discard block |
||
| 200 | 200 | * |
| 201 | 201 | * @param String $action - see GoogleMapDataResponse::allowed_actions to get a list of actions |
| 202 | 202 | * @param String $title |
| 203 | - * @param float $lng - default LATITUDE |
|
| 204 | - * @param float $lat - default LONGITUDE |
|
| 203 | + * @param integer $lng - default LATITUDE |
|
| 204 | + * @param integer $lat - default LONGITUDE |
|
| 205 | 205 | * @param String $filterCode - can be a SiteTree class name, e.g. "ProductPage" |
| 206 | 206 | * filter depends on the type of action |
| 207 | 207 | * |
@@ -224,7 +224,6 @@ discard block |
||
| 224 | 224 | /** |
| 225 | 225 | * add a layer to a Google Map |
| 226 | 226 | * |
| 227 | - * @param String $action - see GoogleMapDataResponse::allowed_actions to get a list of actions |
|
| 228 | 227 | * @param String $title |
| 229 | 228 | * @param String $filterCode - can be a SiteTree class name, e.g. "ProductPage" |
| 230 | 229 | * filter depends on the type of action |
@@ -387,7 +386,7 @@ discard block |
||
| 387 | 386 | * @param String $title |
| 388 | 387 | * @param Int $lng |
| 389 | 388 | * @param Int $lat |
| 390 | - * @param String $filter |
|
| 389 | + * @param String $filterCode |
|
| 391 | 390 | * |
| 392 | 391 | * @return String |
| 393 | 392 | */ |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | * Get first placemark as flat array |
| 63 | 63 | * |
| 64 | 64 | * @param string $q |
| 65 | - * @param Boolean $tryAnyway |
|
| 65 | + * @param integer $tryAnyway |
|
| 66 | 66 | * @return Array |
| 67 | 67 | */ |
| 68 | 68 | public static function get_placemark_as_array($q, $tryAnyway = 0) |
@@ -206,7 +206,7 @@ discard block |
||
| 206 | 206 | * |
| 207 | 207 | * @param Array |
| 208 | 208 | * |
| 209 | - * @return Array |
|
| 209 | + * @return string |
|
| 210 | 210 | */ |
| 211 | 211 | private static function json_encoder($content) |
| 212 | 212 | { |
@@ -444,7 +444,7 @@ |
||
| 444 | 444 | /** |
| 445 | 445 | * reduce a string by removing leading and trailing comments and whitespace |
| 446 | 446 | * |
| 447 | - * @param $str string string value to strip of comments and whitespace |
|
| 447 | + * @param string $str string string value to strip of comments and whitespace |
|
| 448 | 448 | * |
| 449 | 449 | * @return string string value stripped of comments and whitespace |
| 450 | 450 | * @access private |
@@ -319,7 +319,7 @@ |
||
| 319 | 319 | * test to see if address is found. If address if found then |
| 320 | 320 | * it will write the object, otherwise it returns null. |
| 321 | 321 | * |
| 322 | - * @return this || null |
|
| 322 | + * @return GoogleMapLocationsObject|null || null |
|
| 323 | 323 | */ |
| 324 | 324 | public function findGooglePointsAndWriteIfFound() |
| 325 | 325 | { |
@@ -204,7 +204,7 @@ discard block |
||
| 204 | 204 | } |
| 205 | 205 | |
| 206 | 206 | /** |
| 207 | - * @return Boolean |
|
| 207 | + * @return boolean|null |
|
| 208 | 208 | */ |
| 209 | 209 | public function CanEdit($member = null) |
| 210 | 210 | { |
@@ -400,6 +400,10 @@ discard block |
||
| 400 | 400 | * @var String |
| 401 | 401 | */ |
| 402 | 402 | protected $address = ""; |
| 403 | + |
|
| 404 | + /** |
|
| 405 | + * @param string $v |
|
| 406 | + */ |
|
| 403 | 407 | public function setAddress($v) |
| 404 | 408 | { |
| 405 | 409 | $this->address = Convert::raw2js($v); |
@@ -487,6 +491,10 @@ discard block |
||
| 487 | 491 | * @var String |
| 488 | 492 | */ |
| 489 | 493 | protected $updateServerUrlAddressSearchPoint = "/googlemap/showaroundmexml/"; |
| 494 | + |
|
| 495 | + /** |
|
| 496 | + * @param string $v |
|
| 497 | + */ |
|
| 490 | 498 | public function setUpdateServerUrlAddressSearchPoint($v) |
| 491 | 499 | { |
| 492 | 500 | $this->updateServerUrlAddressSearchPoint = Director::absoluteBaseURL().$v; |
@@ -500,6 +508,10 @@ discard block |
||
| 500 | 508 | * @var String |
| 501 | 509 | */ |
| 502 | 510 | protected $updateServerUrlDragend = ""; |
| 511 | + |
|
| 512 | + /** |
|
| 513 | + * @param string $v |
|
| 514 | + */ |
|
| 503 | 515 | public function setUpdateServerUrlDragend($v) |
| 504 | 516 | { |
| 505 | 517 | $this->updateServerUrlDragend = Director::absoluteBaseURL().$v; |