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


PHP rating::get_team_member_details方法代碼示例

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


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

示例1: foreach

     if ($userFoundCnt > 0) {
         foreach ($serchedUsrListByKeyword as $key => $value) {
             $team_mem_profile_pic = $value['google_picture_link'] != '' ? $value['google_picture_link'] . "?sz=100" : 'https://lh5.googleusercontent.com/-b0-k99FZlyE/AAAAAAAAAAI/AAAAAAAAAAA/eu7opA4byxI/photo.jpg?sz=100';
             $response .= '<div class = "lft-div-my-team marginbot10">
         <div class = "div-team-lft-img"><a href="javascript:void(0);" id="' . $value['id'] . '"><img src = "' . $team_mem_profile_pic . '"  onClick="getMemberDetails(' . $value['id'] . ')"/></a></div>
         <div class = "div-team-lft-txt"><a class = "name"  id ="' . $value['id'] . '" href="javascript:void(0);" onClick="getMemberDetails(' . $value['id'] . ')">' . $value['google_name'] . '</a></div>
                                             </div>';
         }
     } else {
         $response .= '<strong>No record found.</strong>';
     }
     echo $response;
     die;
 }
 if ($_GET['action'] == 'getMemberDetails') {
     $membersDetails = $renderObj->get_team_member_details($_GET['memberId']);
     $response = '';
     $profile_pic = $membersDetails['google_picture_link'] != '' ? $membersDetails['google_picture_link'] . "?sz=100" : "images/user.png";
     $response .= '<div class="mid-col-4">
                                    <div class="mid-col-top relative">
                                        <div class="gallery-wrap">
                                            <div class="gallery clearfix">
                                                <div class="gallery__item" id="">
                                                        <div class="mid-col-img"><a href="javascript:void(0);"><img src="' . $profile_pic . '"/></a></div>
                                                        <p class="center name-txt"><a href="javascript:void();" class="name">' . $membersDetails['google_name'] . '</a><p>
                                                        <p class="center" style="color:#515151;">' . $membersDetails['designation'] . '</p>
                                                        <span class="request-positive-green-2">+1</span>
                                                    </div>
                                            </div>                                     
                                        </div>
                                    </div>
開發者ID:parakh-infobeans,項目名稱:parakh,代碼行數:31,代碼來源:dashboard.php


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