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