Swat/SwatTableView.php
public function getFirstRowByClass($class_name)
    {
        $my_row = null;
        foreach ($this->extra_rows as $row) {
            if ($row instanceof $class_name) {
                $my_row = $row;
                break;
            }
        }
        return $my_row;
    }
public function getFirstRowByClass($class_name)
    {
        $my_row = null;
        foreach ($this->extra_rows as $row) {
            if ($row instanceof $class_name) {
                $my_row = $row;
                break;
            }
        }
        return $my_row;
    }
public function getFirstRowByClass ( $ class_name ) { $ my_row = null ; foreach ( $ this -> extra_rows as $ row ) { if ( $ row instanceof $ class_name ) { $ my_row = $ row ; break ; } } return $ my_row ; }
Gets the first extra row of the specified class from this table-view

Unlike the {@link SwatUIParent::getFirstDescendant()} method, this
method only checks this table-view and does not check the child objects
of this table-view.

@param string $class_name the class name to filter by.

@return SwatTableViewRow the first extra row of the specified class or
null if no such row object exists in this
table-view.

@see SwatUIParent::getFirstDescendant()
Gets the first extra row of the specified class from this table - view