IAvatarManager¶
-
interface
OCP\
IAvatarManager
¶ - This class provides avatar functionality
Implemented by: OC\Avatar\AvatarManager
Source: 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: \Exception
In case the username is potentially dangerousThrows: \OCP\Files\NotFoundException
In case there is no user folder yetThrows: \Exception
In case the username is potentially dangerousThrows: \OCP\Files\NotFoundException
In 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