◆ checkAvatarVisibility()
checkAvatarVisibility |
( |
| ) |
|
|
protected |
Return if avatar is visible to the current user.
- Returns
- boolean: true if visible
◆ getAvatar()
Returns an avatar object of the appropriate class.
- Parameters
-
- Returns
- mixed the course's avatar.
◆ getAvatarDirectoryPath()
getAvatarDirectoryPath |
( |
| ) |
|
Returns the file system path to the courses' avatars
- Returns
- string the file system path to the avatars
◆ getAvatarDirectoryUrl()
getAvatarDirectoryUrl |
( |
| ) |
|
Returns the URL to the courses' avatars.
- Returns
- string the URL to the avatars
◆ getCssClass()
Returns the CSS class to use for this avatar image.
- Parameters
-
string | one of the constants Avatar::(NORMAL|MEDIUM|SMALL) |
- Returns
- string CSS class to use for the avatar
◆ getDefaultTitle()
Return the default title of the avatar.
- Returns
- string the default title
◆ getNobody()
Returns an avatar object for "nobody".
- Returns
- mixed the course's avatar.
The documentation for this class was generated from the following file: