Returns display header label for the column.

@return string
498243
public function header()
    {
        if ($this->header_translated) {
            return cms_trans($this->header_translated);
        }

        if ($this->header) {
            return $this->header;
        }

        return ucfirst(str_replace('_', ' ', snake_case($this->source)));
    }
1341946
public function renderHead()
    {
        $headers = $this->getTable()->getHeaders();
        $render = '';
        foreach ($headers as $name => $title) {
            $render .= $this->getTable()->getHeader($name)->render();
        }
        $render = sprintf('<tr class="zf-title">%s</tr>', $render);
        return $render;
    }
1081124
public function renderTableHeader()
    {
        $cells = [];
        foreach ($this->columns as $column) {
            /* @var $column TreeColumn */
            $cells[] = $column->renderHeaderCell();
        }
        $content = Html::tag('tr', implode('', $cells), $this->headerRowOptions);
        return "<thead>\n" . $content . "\n</thead>";
    }
1132417
def _get_header(self):
        """"""
        out = self._get_row(self.labels)
        out += "\n"
        out += self._get_row(["---"] * len(self.labels))  # line below headers
        return out
908783
public function getLabel()
	{
		// Checks if the object has a label
		$label = $this->label;

		// if not guess one from the name
		if (is_null($label))
		{
			$label = $this->getName();
		}

		return $label;
	}
278898
protected function getHeadersAsText()
    {
        $headers = '';

        foreach ($this->headers as $header) {
            foreach ($header[1] as $headerValue) {
                $headers .= $header[0] . ': ' . $headerValue . "\r\n";
            }
        }

        return $headers;
    }
636941
public function getColumn() : ?string 
    {
        if ( ! $this->hasColumn()) {
            $this->setColumn($this->getDefaultColumn());
        }
        return $this->column;
    }
491905
public function getName()
	{
		$items = $this->getRefItems( 'text', 'name' );

		if ( ( $item = reset( $items ) ) !== false ) {
			return $item->getContent();
		}

		return $this->getLabel();
	}
59223
public function getHeadingText()
    {
        if ($this->Heading) {
            return $this->Heading;
        }
        
        if ($this->hasLinkPage()) {
            return $this->LinkPage()->MetaTitle;
        }
    }
1115585
public function getTitleColumnName()
    {
        // If we specified a specific fieldname or array of fieldnames as 'title'.
        if (!empty($this->contenttype['title_format'])) {
            return (array) $this->contenttype['title_format'];
        }

        // Sets the names of some 'common' names for the 'title' column.
        $names = ['title', 'name', 'caption', 'subject', 'heading'];

        // Some localised options as well
        $names = array_merge($names, ['titel', 'naam', 'onderwerp']); // NL
        $names = array_merge($names, ['nom', 'sujet']); // FR
        $names = array_merge($names, ['nombre', 'sujeto']); // ES

        foreach ($names as $name) {
            if (isset($this->values[$name])) {
                return [$name];
            }
        }

        // Otherwise, grab the first field of type 'text', and assume that's the title.
        if (!empty($this->contenttype['fields'])) {
            foreach ($this->contenttype['fields'] as $key => $field) {
                if ($field['type'] === 'text') {
                    return [$key];
                }
            }
        }

        // Nope, no title was found.
        return [];
    }
314287
public function getLabel() {
        $label = $this->label;
        if ($this->label === CINBarcode1D::AUTO_LABEL) {
            $label = '';
        }

        return $label;
    }
957354
public function getHeader()
	{
		$header = [];

		foreach ($this->columns as $column) {
			$header[] = $this->translator->translate($column->getName());
		}

		return $header;
	}
795793
public function displayVal()
    {
        $prop = $this->p();
        $val  = $this->propertyVal();

        if ($val !== null) {
            return $prop->displayVal($val);
        }

        if ($prop->allowNull()) {
            $nil = $this->emptyChoice();
            return (string)$nil['label'];
        }

        return '';
    }
940982
function _getHeaderLine() {
        // Make sure column count is correct
        for ($j = 0; $j < count($this->_headers); $j++) {
            for ($i = 0; $i < $this->_max_cols; $i++) {
                if (!isset($this->_headers[$j][$i])) {
                    $this->_headers[$j][$i] = '';
                }
            }
        }

        for ($j = 0; $j < count($this->_headers); $j++) {
            for ($i = 0; $i < count($this->_headers[$j]); $i++) {
                if ($this->_strlen($this->_headers[$j][$i]) <
                    $this->_cell_lengths[$i]
                ) {
                    $this->_headers[$j][$i] =
                        $this->_strpad($this->_headers[$j][$i],
                            $this->_cell_lengths[$i],
                            ' ',
                            $this->_col_align[$i]);
                }
            }
        }

        $vertical = $this->_border['vertical'];
        $row_begin = $this->_borderVisibility['left']
            ? $vertical . str_repeat(' ', $this->_padding)
            : '';
        $row_end = $this->_borderVisibility['right']
            ? str_repeat(' ', $this->_padding) . $vertical
            : '';
        $implode_char = str_repeat(' ', $this->_padding) . $vertical
            . str_repeat(' ', $this->_padding);

        $separator = $this->_getSeparator();
        if (!empty($separator) && $this->_borderVisibility['top']) {
            $return[] = $separator;
        }
        for ($j = 0; $j < count($this->_headers); $j++) {
            $return[] = $row_begin
                . implode($implode_char, $this->_headers[$j]) . $row_end;
        }

        return implode(PHP_EOL, $return);
    }
936854
public function heading()
    {
        $heading = $this->render((string)$this->heading);

        if (!$heading) {
            $heading = $this->translator()->translation('{{ objType }} #{{ id }}', [
                '{{ objType }}' => ucfirst($this->microType()),
                '{{ id }}'      => $this->id()
            ]);
        }

        return $heading;
    }
471418
public function getLabel()
	{
		if ($this->label === null) {
			return Str::title($this->getName());
		}

		return $this->label;
	}
874324
public function label()
    {
        if ($this->label_translated) {
            return cms_trans($this->label_translated);
        }

        if ($this->label) {
            return $this->label;
        }

        return ucfirst(str_replace('_', ' ', snake_case($this->strategy)));
    }