public function tableHeadings($fields)
    {
        $output = '';
        foreach ($fields as $f) {
            $field = $this->humanReadableField($f);
            $output .= '<th>'.$field.'</th>';
        }

        return $output;
    }
public function tableHeadings($fields)
    {
        $output = '';
        foreach ($fields as $f) {
            $field = $this->humanReadableField($f);
            $output .= '<th>'.$field.'</th>';
        }

        return $output;
    }
public function tableHeadings ( $ fields ) { $ output = '' ; foreach ( $ fields as $ f ) { $ field = $ this -> humanReadableField ( $ f ) ; $ output .= '<th>' . $ field . '</th>' ; } return $ output ; }
Return fields as table headings.

@param array $fields Fields to display.

@return string
Return fields as table headings .