public function renderPager()
    {
        $pagination = $this->dataProvider->getPagination();
        if ($pagination === false || $this->dataProvider->getCount() <= 0) {
            return '';
        }
        /* @var $class LinkPager */
        $pager = $this->pager;
        $class = ArrayHelper::remove($pager, 'class', LinkPager::className());
        $pager['pagination'] = $pagination;
        $pager['view'] = $this->getView();

        return $class::widget($pager);
    }
public function renderPager()
    {
        $pagination = $this->dataProvider->getPagination();
        if ($pagination === false || $this->dataProvider->getCount() <= 0) {
            return '';
        }
        
        $pager = $this->pager;
        $class = ArrayHelper::remove($pager, 'class', LinkPager::className());
        $pager['pagination'] = $pagination;
        $pager['view'] = $this->getView();

        return $class::widget($pager);
    }
public function renderPager ( ) { $ pagination = $ this -> dataProvider -> getPagination ( ) ; if ( $ pagination === false || $ this -> dataProvider -> getCount ( ) <= 0 ) { return '' ; } /* @var $class LinkPager */ $ pager = $ this -> pager ; $ class = ArrayHelper :: remove ( $ pager , 'class' , LinkPager :: className ( ) ) ; $ pager [ 'pagination' ] = $ pagination ; $ pager [ 'view' ] = $ this -> getView ( ) ; return $ class :: widget ( $ pager ) ; }
Renders the pager.
@return string the rendering result
Renders the pager .