private function renderElement($page, $title, $class = '')
    {
        $href = sprintf($this->htmlHref, $this->currentUri, $page);
        $href .= $this->getUrlParams();

        $element = sprintf($this->htmlAHref, $href, $title);
        return sprintf($this->htmlElement, $class, $element);
    }