Class CommentRenderer
- Namespace
- Dynamicweb.Content.Commenting
- Assembly
- Dynamicweb.dll
Renders comments and ratings.
- Inheritance
-
Comment
Renderer
- Inherited Members
Methods
RenderComment(Template, Comment)
Renders a comment.
Parameters
RenderComment(Template, Comment, string)
Renders a comment.
Parameters
RenderComments(Template, CommentCollection)
Renders a comment collection in a loop called "Comments".
Parameters
template
TemplateThe template.
comments
CommentCollection The comments.
RenderComments(Template, CommentCollection, string)
Renders a comment collection in a loop with the specified name.
Parameters
template
TemplateThe template.
comments
CommentCollection The comments.
loopName
stringThe name of the template loop.
RenderStars(double)
Renders the stars.
Parameters
rating
doubleThe rating.
Returns
- string
A piece of html of 5 stars either full or blank
RenderStars(int)
Renders the stars.
Parameters
rating
intThe rating.
Returns
- string
A piece of html of 5 stars either full or blank