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

getPageSummaryCellContent() protected méthode

Gets the raw page summary cell content.
protected getPageSummaryCellContent ( ) : string
Résultat string the rendered result
    protected function getPageSummaryCellContent()
    {
        if ($this->pageSummary === true || $this->pageSummary instanceof \Closure) {
            $summary = $this->calculateSummary();
            return $this->pageSummary === true ? $summary : call_user_func($this->pageSummary, $summary, $this->_rows, $this);
        }
        if ($this->pageSummary !== false) {
            return $this->pageSummary;
        }
        return null;
    }