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