IAvatarManager¶
-
interface
OCP\IAvatarManager¶ - This class provides avatar functionality
Implemented by: OC\Avatar\AvatarManagerSource: lib/public/IAvatarManager.php#38
Methods¶
-
public
OCP\IAvatarManager::getAvatar($user)¶ - return a user specific instance of \OCP\IAvatar
Source: Parameters: - $user (string) the ownCloud user id
See: Returns: Throws: \ExceptionIn case the username is potentially dangerousThrows: \OCP\Files\NotFoundExceptionIn case there is no user folder yetThrows: \ExceptionIn case the username is potentially dangerousThrows: \OCP\Files\NotFoundExceptionIn case there is no user folder yetSince: 6.0.0
-
public
OCP\IAvatarManager::getGuestAvatar($name)¶ - Returns a guest user avatar instance.
Source: Parameters: - $name (string) The guest name, e.g. “Albert”.
Returns: Since: 16.0.0