XOOPS  2.6.0
Xoops\Core\Service\Contract\AvatarInterface Interface Reference
Inheritance diagram for Xoops\Core\Service\Contract\AvatarInterface:
Inheritance graph

Public Member Functions

 getAvatarEditUrl ($response,\XoopsUser $userinfo)
 
 getAvatarUrl ($response, $userinfo)
 

Public Attributes

const MODE = \Xoops\Core\Service\Manager::MODE_EXCLUSIVE
 

Detailed Description

Definition at line 26 of file AvatarInterface.php.

Member Function Documentation

Xoops\Core\Service\Contract\AvatarInterface::getAvatarEditUrl (   $response,
\XoopsUser  $userinfo 
)

getAvatarEditUrl - given user info return absolute URL to edit avatar data

Parameters
Response$responseobject
\XoopsUser$userinfoXoopsUser object for user
Returns
void - response->value set to absolute URL to editing function for avatar data

Implemented in GravatarsProvider, and AvatarsProvider.

Xoops\Core\Service\Contract\AvatarInterface::getAvatarUrl (   $response,
  $userinfo 
)

getAvatarUrl - given user info return absolute URL to avatar image

Parameters
Response$responseobject
mixed$userinfoXoopsUser object for user or array user info, 'uid', 'uname' and 'email' required int user uid
Returns
void - response->value set to absolute URL to avatar image

Implemented in GravatarsProvider, and AvatarsProvider.

Member Data Documentation

const Xoops\Core\Service\Contract\AvatarInterface::MODE = \Xoops\Core\Service\Manager::MODE_EXCLUSIVE

Definition at line 28 of file AvatarInterface.php.


The documentation for this interface was generated from the following file: