src/ShapeFile.php
private function _openSHPFile($toWrite = false)
    {
        $this->SHPFile = $this->_openFile($toWrite, '.shp', 'Shape');
        if (! $this->SHPFile) {
            return false;
        }

        return true;
    }
private function _openSHPFile($toWrite = false)
    {
        $this->SHPFile = $this->_openFile($toWrite, '.shp', 'Shape');
        if (! $this->SHPFile) {
            return false;
        }

        return true;
    }
private function _openSHPFile ( $ toWrite = false ) { $ this -> SHPFile = $ this -> _openFile ( $ toWrite , '.shp' , 'Shape' ) ; if ( ! $ this -> SHPFile ) { return false ; } return true ; }
Opens SHP file.

@param bool $toWrite Whether file should be opened for writing

@return bool
Opens SHP file .