public getSort ( ) : |
||
Результат | the sorting object. If this is false, it means the sorting is disabled. |
public function renderSorter(array $options) { return LinkSorter::widget(array_merge(['show' => true, 'sort' => $this->dataProvider->getSort(), 'buttonClass' => 'btn btn-default dropdown-toggle btn-sm'], $options)); }