Ejemplo n.º 1
0
 function getSearchResultURL()
 {
     return KTBrowseUtil::buildBaseUrl('search2');
 }
Ejemplo n.º 2
0
 function getRssLink($iItemId, $sItemType)
 {
     $item = strToLower($sItemType);
     if ($item == 'folder') {
         $sItemParameter = '?folderId';
     } else {
         if ($item == 'document') {
             $sItemParameter = '?docId';
         }
     }
     // built server path
     global $default;
     $sHostPath = "http" . ($default->sslEnabled ? "s" : "") . "://" . $_SERVER['HTTP_HOST'];
     // build link
     $sLink = $sHostPath . KTBrowseUtil::buildBaseUrl('rss') . $sItemParameter . '=' . $iItemId;
     return $sLink;
 }