Swat/SwatTableViewGroup.php
public function displayFooter($row, $next_row)
    {
        if ($this->group_by === null) {
            throw new SwatException("Attribute 'group_by' must be set.");
        }

        $group_by = $this->group_by;

        if (
            $next_row === null ||
            !$this->isEqual($row->$group_by, $next_row->$group_by)
        ) {
            $this->displayGroupFooter($row);
        }
    }
public function displayFooter($row, $next_row)
    {
        if ($this->group_by === null) {
            throw new SwatException("Attribute 'group_by' must be set.");
        }

        $group_by = $this->group_by;

        if (
            $next_row === null ||
            !$this->isEqual($row->$group_by, $next_row->$group_by)
        ) {
            $this->displayGroupFooter($row);
        }
    }
public function displayFooter ( $ row , $ next_row ) { if ( $ this -> group_by === null ) { throw new SwatException ( "Attribute 'group_by' must be set." ) ; } $ group_by = $ this -> group_by ; if ( $ next_row === null || ! $ this -> isEqual ( $ row -> $ group_by , $ next_row -> $ group_by ) ) { $ this -> displayGroupFooter ( $ row ) ; } }
Displays the grouping footer of this table-view group

The grouping footer is displayed when the group_by field is different
between the given rows.

@param mixed $row a data object containing the data for the first row in
in the table store for this group.
@param mixed $row a data object containing the data for the current row
being displayed in the table-view.
@param mixed $next_row a data object containing the data for the next
row being displayed in the table-view or null if
the current row is the last row.
Displays the grouping footer of this table - view group