@@ -334,6 +334,9 @@ |
||
| 334 | 334 | } |
| 335 | 335 | } |
| 336 | 336 | |
| 337 | + /** |
|
| 338 | + * @param string $error |
|
| 339 | + */ |
|
| 337 | 340 | function setError($error) { |
| 338 | 341 | $this->lastError = $error; |
| 339 | 342 | return false; |
@@ -278,6 +278,9 @@ discard block |
||
| 278 | 278 | } |
| 279 | 279 | } |
| 280 | 280 | |
| 281 | + /** |
|
| 282 | + * @param string $type |
|
| 283 | + */ |
|
| 281 | 284 | private function _loadMultiPointMZRecord($type) { |
| 282 | 285 | |
| 283 | 286 | $this->SHPData[$type."min"] = Util::loadData("d", fread($this->SHPFile, 8)); |
@@ -311,6 +314,9 @@ discard block |
||
| 311 | 314 | } |
| 312 | 315 | } |
| 313 | 316 | |
| 317 | + /** |
|
| 318 | + * @param string $type |
|
| 319 | + */ |
|
| 314 | 320 | private function _saveMultiPointMZRecord($type) { |
| 315 | 321 | |
| 316 | 322 | fwrite($this->SHPFile, pack("dd", $this->SHPData[$type."min"], $this->SHPData[$type."max"])); |
@@ -364,6 +370,9 @@ discard block |
||
| 364 | 370 | fseek($this->SHPFile, $firstIndex + ($readPoints * 16)); |
| 365 | 371 | } |
| 366 | 372 | |
| 373 | + /** |
|
| 374 | + * @param string $type |
|
| 375 | + */ |
|
| 367 | 376 | private function _loadPolyLineMZRecord($type) { |
| 368 | 377 | |
| 369 | 378 | $this->SHPData[$type."min"] = Util::loadData("d", fread($this->SHPFile, 8)); |
@@ -412,6 +421,9 @@ discard block |
||
| 412 | 421 | } |
| 413 | 422 | } |
| 414 | 423 | |
| 424 | + /** |
|
| 425 | + * @param string $type |
|
| 426 | + */ |
|
| 415 | 427 | private function _savePolyLineMZRecord($type) { |
| 416 | 428 | fwrite($this->SHPFile, pack("dd", $this->SHPData[$type."min"], $this->SHPData[$type."max"])); |
| 417 | 429 | |
@@ -692,6 +704,9 @@ discard block |
||
| 692 | 704 | } |
| 693 | 705 | } |
| 694 | 706 | |
| 707 | + /** |
|
| 708 | + * @param string $error |
|
| 709 | + */ |
|
| 695 | 710 | public function setError($error) { |
| 696 | 711 | $this->lastError = $error; |
| 697 | 712 | return false; |