protected function TripalCSVDownloader::getHeader

3.x TripalCSVDownloader.inc protected TripalCSVDownloader::getHeader()

Overrides TripalFieldDownloader::getHeader

See also

TripalFieldDownloader::getHeader()

File

tripal/includes/TripalFieldDownloaders/TripalCSVDownloader.inc, line 95

Class

TripalCSVDownloader

Code

protected function getHeader() {
  $row = array();
  foreach ($this->printable_fields as $accession => $label) {
    $row[] = $label;
  }
  return array(implode(",", $row));
}