stats:actionCount
Calculates the number of times a action type has occured on the given arguments. All the arguments are optional.
Syntax
<stats:actionCount article="..."? articleId="..."? author="..."? authorId="..."? from="..."? id="..."? includeArticleTypes="..."? section="..."? sectionId="..."? to="..."? type="..." user="..."? userId="..."?> ... </stats:actionCount>
Attributes
id
, no runtime expressionsName of the scripting-variable.
type
, mandatoryAction type can be: View, create, update, tag, rate, comment, search, login, message, favorite
user
Name of the scripting-variable where to get the user information from. This can be a PresentationUser, PresentationPerson or Person object.
userId
The id of the user to get the count from.
article
Name of the scripting-variable where to get the user information from. This must be an PresentationArticle or Article object.
articleId
The id of the article to get the count from.
includeArticleTypes
The type of the article to get the count from.
section
Name of the scripting-variable where to get the user information from. This must be an PresentationSection or Section object.
sectionId
The section id.
author
Name of the scripting-variable where to get the author information from. This can be a PresentationUser, PresentationPerson or Person object.
authorId
The id of the author to get the count from.
from
Date object or hours back from now
to
Date object or hours back from now