function search() { $text = JText::_('HG_SEARCH'); $link = hotelguideHelperRoute::root() . '&view=search'; $output = '<a href="' . JRoute::_($link) . '" title="' . $text . '">' . $text . '</a>'; return $output; }
function getBookingRoute($id) { //Create the link $link = hotelguideHelperRoute::root() . '&view=booking&id=' . $id; return $link; }