public function getCategoryLink(KunenaForumCategory $category, $content = null, $title = null, $class = null) { if (!$content) { $content = $this->escape($category->name); } if ($title === null) { $title = JText::sprintf('COM_KUNENA_VIEW_CATEGORY_LIST_CATEGORY_TITLE', $this->escape($category->name)); } return JHtml::_('kunenaforum.link', $category->getUri(), $content, $title, $class, 'follow'); }