src/ShapeFile.php
public function setDBFHeader($header)
    {
        $this->DBFHeader = $header;

        $count = count($this->records);
        for ($i = 0; $i < $count; ++$i) {
            $this->records[$i]->updateDBFInfo($header);
        }
    }
public function setDBFHeader($header)
    {
        $this->DBFHeader = $header;

        $count = count($this->records);
        for ($i = 0; $i < $count; ++$i) {
            $this->records[$i]->updateDBFInfo($header);
        }
    }
public function setDBFHeader ( $ header ) { $ this -> DBFHeader = $ header ; $ count = count ( $ this -> records ) ; for ( $ i = 0 ; $ i < $ count ; ++ $ i ) { $ this -> records [ $ i ] -> updateDBFInfo ( $ header ) ; } }
Changes array defining fields in DBF file, used in dbase_create call.

@param array $header An array of arrays, each array describing the
format of one field of the database. Each
field consists of a name, a character indicating
the field type, and optionally, a length,
a precision and a nullable flag.
Changes array defining fields in DBF file used in dbase_create call .