private function getColumnHeaders(&$results) {
    $html = '<h3>Column Headers</h3><pre>';

    $headers = $results->getColumnHeaders();
    foreach ($headers as $header) {
      $html .= <<<HTML

Column Name = {$header->getName()}
Column Type = {$header->getColumnType()}
Data Type   = {$header->getDataType()}

HTML;
    }

    $html .= '</pre>';
    return $html;
  }
private function getColumnHeaders(&$results) {
    $html = '<h3>Column Headers</h3><pre>';

    $headers = $results->getColumnHeaders();
    foreach ($headers as $header) {
      $html .= <<<HTML

Column Name = {$header->getName()}
Column Type = {$header->getColumnType()}
Data Type   = {$header->getDataType()}

HTML;
    }

    $html .= '</pre>';
    return $html;
  }
private function getColumnHeaders ( & $ results ) { $ html = '<h3>Column Headers</h3><pre>' ; $ headers = $ results -> getColumnHeaders ( ) ; foreach ( $ headers as $ header ) { $ html .=  <<<HTML

Column Name = {$header->getName()}
Column Type = {$header->getColumnType()}
Data Type   = {$header->getDataType()}

HTML ; } $ html .= '</pre>' ; return $ html ; }
Returns all the column headers for the table view.
@param GaData $results The results from the Core Reporting API.
@return string The formatted results.
Returns all the column headers for the table view .