当前位置: 首页>>代码示例>>PHP>>正文


PHP CKunenaLink::GetEmailLink方法代码示例

本文整理汇总了PHP中CKunenaLink::GetEmailLink方法的典型用法代码示例。如果您正苦于以下问题:PHP CKunenaLink::GetEmailLink方法的具体用法?PHP CKunenaLink::GetEmailLink怎么用?PHP CKunenaLink::GetEmailLink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CKunenaLink的用法示例。


在下文中一共展示了CKunenaLink::GetEmailLink方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: stripslashes

     $kunenaProfile->trigger('profileIntegration', $triggerParams);
 }
 //get the username:
 if ($fbConfig->username) {
     $fb_queryName = "username";
 } else {
     $fb_queryName = "name";
 }
 $fb_username = $userinfo->{$fb_queryName};
 if ($fb_username == "" || $fbConfig->changename) {
     $fb_username = stripslashes($fmessage->name);
 }
 $fb_username = kunena_htmlspecialchars($fb_username);
 $msg_id = $fmessage->id;
 $lists["userid"] = $userinfo->userid;
 $msg_username = $fmessage->email != "" && $my_id > 0 && $fbConfig->showemail ? CKunenaLink::GetEmailLink(kunena_htmlspecialchars(stripslashes($fmessage->email)), $fb_username) : $fb_username;
 if ($fbConfig->allowavatar) {
     $Avatarname = $userinfo->username;
     if ($fbConfig->avatar_src == "jomsocial") {
         // Get CUser object
         $jsuser =& CFactory::getUser($userinfo->userid);
         $msg_avatar = '<span class="fb_avatar"><img src="' . $jsuser->getThumbAvatar() . '" alt=" " /></span>';
     } else {
         if ($fbConfig->avatar_src == "clexuspm") {
             $msg_avatar = '<span class="fb_avatar"><img src="' . MyPMSTools::getAvatarLinkWithID($userinfo->userid) . '" /></span>';
         } else {
             if ($fbConfig->avatar_src == "cb") {
                 $msg_avatar = '<span class="fb_avatar">' . $kunenaProfile->showAvatar($userinfo->userid, '') . '</span>';
             } else {
                 if ($fbConfig->avatar_src == "aup") {
                     $api_AUP = JPATH_SITE . DS . 'components' . DS . 'com_alphauserpoints' . DS . 'helper.php';
开发者ID:kaantunc,项目名称:MYK-BOR,代码行数:31,代码来源:view.php

示例2: array

     $triggerParams = array('userid' => $fmessage->userid, 'userinfo' => &$userinfo);
     $kunenaProfile->trigger('profileIntegration', $triggerParams);
 }
 if ($fbConfig->username) {
     $fb_queryName = "username";
 } else {
     $fb_queryName = "name";
 }
 $fb_username = $userinfo->{$fb_queryName};
 if ($fb_username == "" || $fbConfig->changename) {
     $fb_username = stripslashes($fmessage->name);
 }
 $fb_username = kunena_htmlspecialchars($fb_username);
 $msg_id = $fmessage->id;
 $lists["userid"] = $fmessage->userid;
 $msg_username = $fmessage->email != "" && $kunena_my->id > 0 && $fbConfig->showemail ? CKunenaLink::GetEmailLink($fmessage->email, $fb_username) : $fb_username;
 if ($fbConfig->allowavatar) {
     $Avatarname = $userinfo->username;
     if ($fbConfig->avatar_src == "jomsocial") {
         // Get CUser object
         $jsuser =& CFactory::getUser($fmessage->userid);
         $msg_avatar = '<span class="fb_avatar"><img src="' . $jsuser->getThumbAvatar() . '" alt=" " /></span>';
     } else {
         if ($fbConfig->avatar_src == "clexuspm") {
             $msg_avatar = '<span class="fb_avatar"><img src="' . MyPMSTools::getAvatarLinkWithID($fmessage->userid) . '" /></span>';
         } else {
             if ($fbConfig->avatar_src == "cb") {
                 $msg_avatar = '<span class="fb_avatar">' . $kunenaProfile->showAvatar($fmessage->userid) . '</span>';
             } else {
                 $avatar = $userinfo->avatar;
                 if ($avatar != '') {
开发者ID:kaantunc,项目名称:MYK-BOR,代码行数:31,代码来源:view.php


注:本文中的CKunenaLink::GetEmailLink方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。