protected function getLinks()
    {
        $sLinks = '';
        foreach($this->xPaginator->getPages() as $page)
        {
            if($page['call'])
            {
                $sTemplate = ($page['isCurrent'] ? 'pagination::links/current' : 'pagination::links/enabled');
                $sLinks .= $this->xTemplate->render($sTemplate, ['call' => $page['call'], 'text' => $page['num']]);
            }
            else
            {
                $sLinks .= $this->xTemplate->render('pagination::links/disabled', ['text' => $page['num']]);
            }
        }
        return $sLinks;
    }
protected function getLinks()
    {
        $sLinks = '';
        foreach($this->xPaginator->getPages() as $page)
        {
            if($page['call'])
            {
                $sTemplate = ($page['isCurrent'] ? 'pagination::links/current' : 'pagination::links/enabled');
                $sLinks .= $this->xTemplate->render($sTemplate, ['call' => $page['call'], 'text' => $page['num']]);
            }
            else
            {
                $sLinks .= $this->xTemplate->render('pagination::links/disabled', ['text' => $page['num']]);
            }
        }
        return $sLinks;
    }
protected function getLinks ( ) { $ sLinks = '' ; foreach ( $ this -> xPaginator -> getPages ( ) as $ page ) { if ( $ page [ 'call' ] ) { $ sTemplate = ( $ page [ 'isCurrent' ] ? 'pagination::links/current' : 'pagination::links/enabled' ) ; $ sLinks .= $ this -> xTemplate -> render ( $ sTemplate , [ 'call' => $ page [ 'call' ] , 'text' => $ page [ 'num' ] ] ) ; } else { $ sLinks .= $ this -> xTemplate -> render ( 'pagination::links/disabled' , [ 'text' => $ page [ 'num' ] ] ) ; } } return $ sLinks ; }
Render the pagination links.

@return string
Render the pagination links .