當前位置: 首頁>>代碼示例>>PHP>>正文


PHP CKunenaLink::GetSefHrefLink方法代碼示例

本文整理匯總了PHP中CKunenaLink::GetSefHrefLink方法的典型用法代碼示例。如果您正苦於以下問題:PHP CKunenaLink::GetSefHrefLink方法的具體用法?PHP CKunenaLink::GetSefHrefLink怎麽用?PHP CKunenaLink::GetSefHrefLink使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在CKunenaLink的用法示例。


在下文中一共展示了CKunenaLink::GetSefHrefLink方法的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: getInboxLink

 public function getInboxLink($text)
 {
     if (!$text) {
         $text = JText::_('COM_KUNENA_PMS_INBOX');
     }
     return CKunenaLink::GetSefHrefLink($this->uddeim->getLinkToBox('inbox', false), $text, '', 'follow');
 }
開發者ID:vuchannguyen,項目名稱:hoctap,代碼行數:7,代碼來源:private.php

示例2: GetThreadPageSpecialLink

	function GetThreadPageSpecialLink($func, $catid, $threadid, $page, $limit, $name, $anker = '', $rel = 'follow', $class = '', $title='') {
		$kunena_config = KunenaFactory::getConfig ();
		if ($page == 1 || ! is_numeric ( $page ) || ! is_numeric ( $limit )) {
			// page 1 is identical to a link to the top of the thread
			$pagelink = CKunenaLink::GetSefHrefLink ( 'index.php?option=com_kunena&func=' . $func . '&catid=' . $catid . '&id=' . $threadid, $name, $title, $rel, $class, $anker );
		} else {
			$pagelink = CKunenaLink::GetSefHrefLink ( 'index.php?option=com_kunena&func=' . $func . '&catid=' . $catid . '&id=' . $threadid . '&limit=' . $limit . '&limitstart=' . (($page - 1) * $limit), $name, $title, $rel, $class, $anker );
		}

		return $pagelink;
	}
開發者ID:rich20,項目名稱:Kunena,代碼行數:11,代碼來源:kunena.link.class.php

示例3: GetUserLayoutLink

	function GetUserLayoutLink($layout, $text, $title='', $rel = 'nofollow', $class = '') {
		$token = '&'.JUtility::getToken().'=1';
		return CKunenaLink::GetSefHrefLink ( "index.php?option=com_kunena&view=user&task=change&topic_layout={$layout}{$token}", $text, $title, 'nofollow', $class );
	}
開發者ID:GoremanX,項目名稱:Kunena-2.0,代碼行數:4,代碼來源:kunena.link.class.php

示例4: GetSearchLink

 function GetSearchLink($fbConfig, $func, $searchword, $limitstart, $limit, $name, $params = '', $rel = 'nofollow')
 {
     $fbConfig =& CKunenaConfig::getInstance();
     $limitstr = "";
     if ($limitstart > 0) {
         $limitstr .= "&limitstart={$limitstart}";
     }
     if ($limit > 0 && $limit != $fbConfig->messages_per_page_search) {
         $limitstr .= "&limit={$limit}";
     }
     if ($searchword) {
         $searchword = '&q=' . urlencode($searchword);
     }
     return CKunenaLink::GetSefHrefLink(KUNENA_LIVEURLREL . "&func={$func}{$searchword}{$params}{$limitstr}", $name, '', $rel);
 }
開發者ID:kaantunc,項目名稱:MYK-BOR,代碼行數:15,代碼來源:kunena.link.class.php

示例5: GetStatsLink

 function GetStatsLink($name, $class = '', $rel = 'follow')
 {
     return CKunenaLink::GetSefHrefLink(KUNENA_LIVEURLREL . '&func=stats', $name, '', $rel, $class);
 }
開發者ID:vuchannguyen,項目名稱:hoctap,代碼行數:4,代碼來源:kunena.link.class.php


注:本文中的CKunenaLink::GetSefHrefLink方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。