src/L5SimpleFM.php
public function updateRecord($recId, $data)
    {
        if (empty($recId)) {
            throw new \Exception('No record ID specified');
        }
        $this->primeCommandArray();
        $this->addToCommandArray($data);
        $this->addToCommandArray(['-recid' => $recId]);
        $this->addToCommandArray(['-edit' => null]);
        return $this;
    }
public function updateRecord($recId, $data)
    {
        if (empty($recId)) {
            throw new \Exception('No record ID specified');
        }
        $this->primeCommandArray();
        $this->addToCommandArray($data);
        $this->addToCommandArray(['-recid' => $recId]);
        $this->addToCommandArray(['-edit' => null]);
        return $this;
    }
public function updateRecord ( $ recId , $ data ) { if ( empty ( $ recId ) ) { throw new \ Exception ( 'No record ID specified' ) ; } $ this -> primeCommandArray ( ) ; $ this -> addToCommandArray ( $ data ) ; $ this -> addToCommandArray ( [ '-recid' => $ recId ] ) ; $ this -> addToCommandArray ( [ '-edit' => null ] ) ; return $ this ; }
Update data in an existing record per it's internal FileMaker record ID.
@param  integer The internal FileMaker record ID.
@param  array An associative array of FileName => Values to overwrite the record with
Data in fields not included will not be overwritten.
@return object This object
Update data in an existing record per it s internal FileMaker record ID .