Stud.IP
4.2 Revision
|
Public Member Functions | |
getAvatarDirectoryUrl () | |
getAvatarDirectoryPath () | |
getDefaultTitle () | |
![]() | |
getAvatarDirectoryUrl () | |
getAvatarDirectoryPath () | |
getDefaultTitle () | |
![]() | |
getAvatarDirectoryUrl () | |
getAvatarDirectoryPath () | |
getCustomAvatarUrl ($size, $ext='png') | |
getCustomAvatarPath ($size, $ext='png', $retina=false) | |
getFilename ($size, $ext='png') | |
getURL ($size, $ext='png') | |
is_customized () | |
getImageTag ($size=Avatar::MEDIUM, $opt=[]) | |
createFromUpload ($userfile) | |
createFrom ($filename) | |
reset () | |
getDefaultTitle () | |
Static Public Member Functions | |
static | getAvatar ($id) |
static | getNobody () |
![]() | |
static | getAvatar ($id) |
static | getNobody () |
![]() | |
static | getAvatar ($id) |
static | getNobody () |
static | getDimension ($size) |
static | error_handler ($errno, $errstr, $errfile, $errline) |
Protected Member Functions | |
checkAvatarVisibility () | |
![]() | |
getCssClass ($size) | |
checkAvatarVisibility () | |
![]() | |
__construct ($user_id, $username=null) | |
getCssClass ($size) | |
checkAvatarVisibility () | |
sanitizeOrientation ($filename) | |
Additional Inherited Members | |
![]() | |
const | ORIGINAL = 'original' |
const | NORMAL = 'normal' |
const | MEDIUM = 'medium' |
const | SMALL = 'small' |
const | MAX_FILE_SIZE = 10485760 |
const | NOBODY = 'nobody' |
![]() | |
$user_id | |
$username | |
|
protected |
Return if avatar is visible to the current user.
|
static |
Returns an avatar object of the appropriate class.
string | the course's id |
getAvatarDirectoryPath | ( | ) |
Returns the file system path to the institute' avatars
getAvatarDirectoryUrl | ( | ) |
Returns the URL to the institute' avatars.
getDefaultTitle | ( | ) |
Return the default title of the avatar.
|
static |
Returns an avatar object for "nobody".