Swat/SwatTableView.php
public function insertRowBefore(
        SwatTableViewRow $row,
        SwatTableViewRow $reference_row
    ) {
        $this->insertRow($row, $reference_row, false);
    }
public function insertRowBefore(
        SwatTableViewRow $row,
        SwatTableViewRow $reference_row
    ) {
        $this->insertRow($row, $reference_row, false);
    }
public function insertRowBefore ( SwatTableViewRow $ row , SwatTableViewRow $ reference_row ) { $ this -> insertRow ( $ row , $ reference_row , false ) ; }
Inserts a row before an existing row in this table-view

@param SwatTableViewRow $row the row to insert.
@param SwatTableViewRow $reference_row the row before which the row will
be inserted.

@throws SwatWidgetNotFoundException if the reference row does not exist
in this table-view.
@throws SwatDuplicateIdException if the row has the same id as a row
already in this table-view.
@throws SwatException if the row is an input row and this table-view
already contains an input-row.
Inserts a row before an existing row in this table - view