@@ -271,6 +271,9 @@ discard block |
||
| 271 | 271 | return($result); |
| 272 | 272 | } |
| 273 | 273 | |
| 274 | + /** |
|
| 275 | + * @param integer $index |
|
| 276 | + */ |
|
| 274 | 277 | private function _deleteRecordFromDBF($index) { |
| 275 | 278 | if (@dbase_delete_record($this->DBFFile, $index)) { |
| 276 | 279 | dbase_pack($this->DBFFile); |
@@ -309,6 +312,9 @@ discard block |
||
| 309 | 312 | return true; |
| 310 | 313 | } |
| 311 | 314 | |
| 315 | + /** |
|
| 316 | + * @param string $type |
|
| 317 | + */ |
|
| 312 | 318 | private function _saveBBoxRecord($file, $type) { |
| 313 | 319 | fwrite($file, Util::packDouble( |
| 314 | 320 | isset($this->boundingBox[$type]) ? $this->boundingBox[$type] : 0) |
@@ -373,6 +379,11 @@ discard block |
||
| 373 | 379 | } |
| 374 | 380 | } |
| 375 | 381 | |
| 382 | + /** |
|
| 383 | + * @param boolean $toWrite |
|
| 384 | + * @param string $extension |
|
| 385 | + * @param string $name |
|
| 386 | + */ |
|
| 376 | 387 | private function _openFile($toWrite, $extension, $name) { |
| 377 | 388 | $shp_name = $this->_getFilename($extension); |
| 378 | 389 | $result = @fopen($shp_name, ($toWrite ? 'wb+' : 'rb')); |
@@ -417,7 +428,7 @@ discard block |
||
| 417 | 428 | /** |
| 418 | 429 | * Creates DBF file |
| 419 | 430 | * |
| 420 | - * @return int|false |
|
| 431 | + * @return boolean |
|
| 421 | 432 | */ |
| 422 | 433 | private function _createDBFFile() |
| 423 | 434 | { |