src/Koldy/Pagination.php
protected function getLinkHtml($text, $page, $css)
    {
        $html = $this->buttonHtmlPattern;

        $html = str_replace('{href}', $this->getLinkHref($page), $html);
        $html = str_replace('{text}', $text, $html);
        $html = str_replace('{page}', $page, $html);
        $html = str_replace('{class}', $css, $html);

        if ($css == '') {
            $html = str_replace(' class=""', '', $html);
        }

        return $html;
    }
protected function getLinkHtml($text, $page, $css)
    {
        $html = $this->buttonHtmlPattern;

        $html = str_replace('{href}', $this->getLinkHref($page), $html);
        $html = str_replace('{text}', $text, $html);
        $html = str_replace('{page}', $page, $html);
        $html = str_replace('{class}', $css, $html);

        if ($css == '') {
            $html = str_replace(' class=""', '', $html);
        }

        return $html;
    }
protected function getLinkHtml ( $ text , $ page , $ css ) { $ html = $ this -> buttonHtmlPattern ; $ html = str_replace ( '{href}' , $ this -> getLinkHref ( $ page ) , $ html ) ; $ html = str_replace ( '{text}' , $ text , $ html ) ; $ html = str_replace ( '{page}' , $ page , $ html ) ; $ html = str_replace ( '{class}' , $ css , $ html ) ; if ( $ css == '' ) { $ html = str_replace ( ' class=""' , '' , $ html ) ; } return $ html ; }
Get the HTML for complete link

@param string $text
@param string|int $page
@param string $css

@return mixed
Get the HTML for complete link