Swat/SwatTableView.php
protected function rowHasMessage($row)
    {
        $has_message = false;

        foreach ($this->columns as $column) {
            if ($column->hasMessage($row)) {
                $has_message = true;
                break;
            }
        }

        if (!$has_message) {
            foreach ($this->spanning_columns as $column) {
                if ($column->hasMessage($row)) {
                    $has_message = true;
                    break;
                }
            }
        }

        return $has_message;
    }
protected function rowHasMessage($row)
    {
        $has_message = false;

        foreach ($this->columns as $column) {
            if ($column->hasMessage($row)) {
                $has_message = true;
                break;
            }
        }

        if (!$has_message) {
            foreach ($this->spanning_columns as $column) {
                if ($column->hasMessage($row)) {
                    $has_message = true;
                    break;
                }
            }
        }

        return $has_message;
    }
protected function rowHasMessage ( $ row ) { $ has_message = false ; foreach ( $ this -> columns as $ column ) { if ( $ column -> hasMessage ( $ row ) ) { $ has_message = true ; break ; } } if ( ! $ has_message ) { foreach ( $ this -> spanning_columns as $ column ) { if ( $ column -> hasMessage ( $ row ) ) { $ has_message = true ; break ; } } } return $ has_message ; }
Whether any of the columns in the row has a message

@param mixed $row the data object to use to check the column for
messages.

@return boolean true if any of the columns in the row has a message,
otherwise false.
Whether any of the columns in the row has a message