yii\grid\GridView::renderCaption PHP Метод

renderCaption() публичный Метод

Renders the caption element.
public renderCaption ( ) : boolean | string
Результат boolean | string the rendered caption element or `false` if no caption element should be rendered.
    public function renderCaption()
    {
        if (!empty($this->caption)) {
            return Html::tag('caption', $this->caption, $this->captionOptions);
        } else {
            return false;
        }
    }