original_string: 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;
    }
code: 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;
    }
code_tokens: 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 ; }
docstring: Returns all the column headers for the table view.
  @param GaData $results The results from the Core Reporting API.
  @return string The formatted results.
docstring_tokens: Returns all the column headers for the table view .