kartik\grid\ColumnTrait::renderPageSummaryCellContent PHP Méthode

renderPageSummaryCellContent() protected méthode

Renders the page summary cell content.
protected renderPageSummaryCellContent ( ) : string
Résultat string the rendered result
    protected function renderPageSummaryCellContent()
    {
        if ($this->hidePageSummary) {
            return $this->grid->emptyCell;
        }
        $content = $this->getPageSummaryCellContent();
        if ($this->pageSummary === true) {
            return $this->grid->formatter->format($content, $this->format);
        }
        return $content === null ? $this->grid->emptyCell : $content;
    }