XOOPS
2.6.0
|
Public Member Functions | |
getAvatarEditUrl ($response,\XoopsUser $userinfo) | |
getAvatarUrl ($response, $userinfo) | |
getDescription () | |
getName () | |
Public Member Functions inherited from Xoops\Core\Service\AbstractContract | |
getDescription () | |
getMode () | |
getName () | |
getPriority () | |
setPriority ($priority) | |
Private Member Functions | |
getUserById ($uid) | |
Static Private Member Functions | |
static | getGravatar ($email) |
Additional Inherited Members | |
Public Attributes inherited from Xoops\Core\Service\Contract\AvatarInterface | |
const | MODE = \Xoops\Core\Service\Manager::MODE_EXCLUSIVE |
Protected Attributes inherited from Xoops\Core\Service\AbstractContract | |
$priority = Manager::PRIORITY_MEDIUM | |
Definition at line 26 of file GravatarsProvider.php.
GravatarsProvider::getAvatarEditUrl | ( | $response, | |
\XoopsUser | $userinfo | ||
) |
getAvatarEditUrl - given user info return absolute URL to edit avatar data
Response | $response | object |
\XoopsUser | $userinfo | XoopsUser object for user |
Implements Xoops\Core\Service\Contract\AvatarInterface.
Definition at line 143 of file GravatarsProvider.php.
References $email, $link, $response, and Xoops\Core\Kernel\XoopsObject\getVar().
GravatarsProvider::getAvatarUrl | ( | $response, | |
$userinfo | |||
) |
getAvatarUrl - given user info return absolute URL to avatar image
Response | $response | object |
mixed | $userinfo | XoopsUser object for user or array user info, 'uid', 'uname' and 'email' required int user uid |
Implements Xoops\Core\Service\Contract\AvatarInterface.
Definition at line 108 of file GravatarsProvider.php.
References $email, $response, $user, and getUserById().
GravatarsProvider::getDescription | ( | ) |
getDescription - get human readable description of the service provider
Definition at line 93 of file GravatarsProvider.php.
|
staticprivate |
Get a Gravatar URL for a specified email address.
string | The email address |
http://gravatar.com/site/implement/images/php/
Definition at line 37 of file GravatarsProvider.php.
GravatarsProvider::getName | ( | ) |
getName - get a short name for this service provider. This should be unique within the scope of the named service, so using module dirname is suggested.
Definition at line 83 of file GravatarsProvider.php.
|
private |
getUserById - get a user object from a user id
int | $uid | a user id |
Definition at line 71 of file GravatarsProvider.php.
References $uid, $user, and Xoops\getInstance().
Referenced by getAvatarUrl().