示例#1
0
 public function getAvatar($profile)
 {
     if (!$this->exists()) {
         return false;
     }
     $avatar = JSUserApi::getAvatarPath($profile->id);
     return $avatar;
 }
示例#2
0
文件: avatar.php 项目: Tommar/vino2
 public function _getAvatar($profile)
 {
     $avatar = new stdClass();
     $avatar->link = JSUserApi::getAvatarPath($profile->id);
     return $avatar;
 }