function insertRow($row, $row_id = 0) {
        array_splice($this->_data, $row_id, 0, array($row));

        $this->_updateRowsCols($row);
    }
function insertRow($row, $row_id = 0) {
        array_splice($this->_data, $row_id, 0, array($row));

        $this->_updateRowsCols($row);
    }
function insertRow ( $ row , $ row_id = 0 ) { array_splice ( $ this -> _data , $ row_id , 0 , array ( $ row ) ) ; $ this -> _updateRowsCols ( $ row ) ; }
Inserts a row after a given row number in the table.

If $row_id is not given it will prepend the row.

@param array $row The data to insert.
@param integer $row_id Row number to insert before.

@return void
Inserts a row after a given row number in the table .