Swat/SwatTileViewGroup.php
protected function displayRenderers($row)
    {
        if ($this->group_by === null) {
            throw new SwatException("Attribute 'group_by' must be set.");
        }

        $group_by = $this->group_by;

        // only display the group header if the value of the group-by field has
        // changed
        if (!$this->isEqual($this->header_current, $row->$group_by)) {
            $this->resetSubGroups();
            $this->displayGroupHeader($row);
            $this->header_current = $row->$group_by;
        }
    }
protected function displayRenderers($row)
    {
        if ($this->group_by === null) {
            throw new SwatException("Attribute 'group_by' must be set.");
        }

        $group_by = $this->group_by;

        // only display the group header if the value of the group-by field has
        // changed
        if (!$this->isEqual($this->header_current, $row->$group_by)) {
            $this->resetSubGroups();
            $this->displayGroupHeader($row);
            $this->header_current = $row->$group_by;
        }
    }
protected function displayRenderers ( $ row ) { if ( $ this -> group_by === null ) { throw new SwatException ( "Attribute 'group_by' must be set." ) ; } $ group_by = $ this -> group_by ; // only display the group header if the value of the group-by field has // changed if ( ! $ this -> isEqual ( $ this -> header_current , $ row -> $ group_by ) ) { $ this -> resetSubGroups ( ) ; $ this -> displayGroupHeader ( $ row ) ; $ this -> header_current = $ row -> $ group_by ; } }
Displays the renderers for this tile

The renderes are only displayed once for every time the value of the
group_by field changes and the renderers are displayed as a divider
between tiles.

@param mixed $row a data object containing the data for a single row
in the table model for this group.

@throws SwatException
Displays the renderers for this tile