当前位置: 首页>>代码示例>>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;未经允许,请勿转载。