Class CommentAvatarService
- java.lang.Object
-
- fr.paris.lutece.plugins.extend.modules.comment.service.CommentAvatarService
-
- All Implemented Interfaces:
ICommentAvatarService
public class CommentAvatarService extends Object implements ICommentAvatarService
CommentAvatarService
-
-
Constructor Summary
Constructors Constructor Description CommentAvatarService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAvatar(Comment comment)Display the avatar of the comment's authorStringgetAvatarUrl(Comment comment)Display the avatar of the comment's authorstatic ICommentAvatarServicegetInstance()
-
-
-
Method Detail
-
getAvatar
public String getAvatar(Comment comment)
Display the avatar of the comment's author- Specified by:
getAvatarin interfaceICommentAvatarService- Returns:
- The HTML code of the avatar
-
getAvatarUrl
public String getAvatarUrl(Comment comment)
Display the avatar of the comment's author- Specified by:
getAvatarUrlin interfaceICommentAvatarService- Returns:
- The HTML code of the avatar
-
getInstance
public static ICommentAvatarService getInstance()
- Returns:
- singleton
-
-