\OCPIAvatarManager

This class provides avatar functionality

Summary

Methods
Constants
getAvatar()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getAvatar()

getAvatar(string  $user) : \OCP\IAvatar

return a user specific instance of \OCP\IAvatar

Parameters

string $user

the ownCloud user id

Throws

\Exception

In case the username is potentially dangerous

\OCP\Files\NotFoundException

In case there is no user folder yet

Returns

\OCP\IAvatar