public function deleteRow($id)
    {
        if ($id === self::ID_SUMMARY_ROW) {
            $this->summaryRow = null;
            return;
        }
        if (!isset($this->rows[$id])) {
            throw new Exception("Trying to delete unknown row with idkey = $id");
        }
        unset($this->rows[$id]);
    }
public function deleteRow($id)
    {
        if ($id === self::ID_SUMMARY_ROW) {
            $this->summaryRow = null;
            return;
        }
        if (!isset($this->rows[$id])) {
            throw new Exception("Trying to delete unknown row with idkey = $id");
        }
        unset($this->rows[$id]);
    }
public function deleteRow ( $ id ) { if ( $ id === self :: ID_SUMMARY_ROW ) { $ this -> summaryRow = null ; return ; } if ( ! isset ( $ this -> rows [ $ id ] ) ) { throw new Exception ( "Trying to delete unknown row with idkey = $id" ) ; } unset ( $ this -> rows [ $ id ] ) ; }
Deletes a row by ID.

@param int $id The row ID.
@throws Exception If the row `$id` cannot be found.
Deletes a row by ID .