public function render()
    {
        // Run only in case paginator has at least one page
        if ($this->paginator->hasPages()) {
            $ulClass = $this->getOption('ulClass', 'pagination');
            return $this->renderList($ulClass, $this->createPaginationItems());
        }
    }
public function render()
    {
        // Run only in case paginator has at least one page
        if ($this->paginator->hasPages()) {
            $ulClass = $this->getOption('ulClass', 'pagination');
            return $this->renderList($ulClass, $this->createPaginationItems());
        }
    }
public function render ( ) { // Run only in case paginator has at least one page if ( $ this -> paginator -> hasPages ( ) ) { $ ulClass = $ this -> getOption ( 'ulClass' , 'pagination' ) ; return $ this -> renderList ( $ ulClass , $ this -> createPaginationItems ( ) ) ; } }
Renders pagination block

@return string
Renders pagination block