XOOPS
2.6.0
|
Public Member Functions | |
__construct () | |
getAvatarEditUrl ($response,\XoopsUser $userinfo) | |
getAvatarUrl ($response, $userinfo) | |
getDescription () | |
getName () | |
Public Member Functions inherited from Xoops\Core\Service\AbstractContract | |
getDescription () | |
getMode () | |
getName () | |
getPriority () | |
setPriority ($priority) | |
Protected Attributes | |
$xoops_upload_url | |
$xoops_url | |
Protected Attributes inherited from Xoops\Core\Service\AbstractContract | |
$priority = Manager::PRIORITY_MEDIUM | |
Private Member Functions | |
getUserById ($uid) | |
Additional Inherited Members | |
Public Attributes inherited from Xoops\Core\Service\Contract\AvatarInterface | |
const | MODE = \Xoops\Core\Service\Manager::MODE_EXCLUSIVE |
Definition at line 26 of file AvatarsProvider.php.
AvatarsProvider::__construct | ( | ) |
Definition at line 31 of file AvatarsProvider.php.
References XoopsBaseConfig\get().
AvatarsProvider::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 121 of file AvatarsProvider.php.
AvatarsProvider::getAvatarUrl | ( | $response, | |
$userinfo | |||
) |
getAvatarUrl - given user info return absolute URL to avatar image
Response | $response | object |
mixed | $userinfo | XoopsUser object for user or array of user info, 'uid', 'uname' and 'email' required |
Implements Xoops\Core\Service\Contract\AvatarInterface.
Definition at line 80 of file AvatarsProvider.php.
References $response, $user, and getUserById().
AvatarsProvider::getDescription | ( | ) |
getDescription - get human readable description of the service provider
Definition at line 53 of file AvatarsProvider.php.
AvatarsProvider::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 43 of file AvatarsProvider.php.
|
private |
getUserById - get a user object from a user id
int | $uid | a user id |
Definition at line 65 of file AvatarsProvider.php.
References $uid, $user, and Xoops\getInstance().
Referenced by getAvatarUrl().
|
protected |
Definition at line 29 of file AvatarsProvider.php.
|
protected |
Definition at line 28 of file AvatarsProvider.php.