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;
    }