src/View/Cell/ResultCell.php
private function getTableHeaders(): array
    {
        $result = [];
        foreach ($this->getDisplayColumns() as $column) {
            $label = $column;
            if (array_key_exists($label, $this->searchableFields)) {
                $label = $this->searchableFields[$label]['label'];
            }

            list($fieldModel, ) = pluginSplit($column);
            if (array_key_exists($fieldModel, $this->associationLabels)) {
                $label .= ' (' . $this->associationLabels[$fieldModel] . ')';
            }

            $result[] = $label;
        }

        return $result;
    }
private function getTableHeaders(): array
    {
        $result = [];
        foreach ($this->getDisplayColumns() as $column) {
            $label = $column;
            if (array_key_exists($label, $this->searchableFields)) {
                $label = $this->searchableFields[$label]['label'];
            }

            list($fieldModel, ) = pluginSplit($column);
            if (array_key_exists($fieldModel, $this->associationLabels)) {
                $label .= ' (' . $this->associationLabels[$fieldModel] . ')';
            }

            $result[] = $label;
        }

        return $result;
    }
private function getTableHeaders ( ) : array { $ result = [ ] ; foreach ( $ this -> getDisplayColumns ( ) as $ column ) { $ label = $ column ; if ( array_key_exists ( $ label , $ this -> searchableFields ) ) { $ label = $ this -> searchableFields [ $ label ] [ 'label' ] ; } list ( $ fieldModel , ) = pluginSplit ( $ column ) ; if ( array_key_exists ( $ fieldModel , $ this -> associationLabels ) ) { $ label .= ' (' . $ this -> associationLabels [ $ fieldModel ] . ')' ; } $ result [ ] = $ label ; } return $ result ; }
Html table headers getter.

@return mixed[]
Html table headers getter .