Class PluginAvatarCommentAvatarService
java.lang.Object
fr.paris.lutece.plugins.extend.modules.comment.service.PluginAvatarCommentAvatarService
- All Implemented Interfaces:
ICommentAvatarService
PluginAvatarCommentAvatarService : implementation based on the plugin-avatar.
This is the only class of the module referencing the plugin-avatar API. It must never be referenced statically : it is instantiated by reflection by
CommentAvatarService once the plugin-avatar has been detected on the classpath.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PluginAvatarCommentAvatarService
public PluginAvatarCommentAvatarService()
-
-
Method Details
-
getAvatar
Display the avatar of the comment's author- Specified by:
getAvatarin interfaceICommentAvatarService- Returns:
- The HTML code of the avatar
-
getAvatarUrl
Display the avatar of the comment's author- Specified by:
getAvatarUrlin interfaceICommentAvatarService- Returns:
- The HTML code of the avatar
-