Swat/SwatDetailsView.php
protected function displayContent()
    {
        $count = 1;

        foreach ($this->fields as $field) {
            $odd = $count % 2 === 1;

            ob_start();
            $field->display($this->data, $odd);
            $content = ob_get_clean();

            if ($content != '') {
                echo $content;
                $count++;
            }
        }
    }
protected function displayContent()
    {
        $count = 1;

        foreach ($this->fields as $field) {
            $odd = $count % 2 === 1;

            ob_start();
            $field->display($this->data, $odd);
            $content = ob_get_clean();

            if ($content != '') {
                echo $content;
                $count++;
            }
        }
    }
protected function displayContent ( ) { $ count = 1 ; foreach ( $ this -> fields as $ field ) { $ odd = $ count % 2 === 1 ; ob_start ( ) ; $ field -> display ( $ this -> data , $ odd ) ; $ content = ob_get_clean ( ) ; if ( $ content != '' ) { echo $ content ; $ count ++ ; } } }
Displays each field of this view

Displays each field of this view as an XHTML table row.
Displays each field of this view