StatisticsViewsResult
class StatisticsViewsResult (View source)
Value object for passing statistic results.
Properties
| protected int | $totalCount | ||
| protected int | $dayCount | ||
| protected int | $timestamp |
Methods
__construct($total_count, $day_count, $timestamp)
No description
int
getTotalCount()
Total number of times the entity has been viewed.
int
getDayCount()
Total number of times the entity has been viewed "today".
int
getTimestamp()
Timestamp of when the entity was last viewed.
Details
__construct($total_count, $day_count, $timestamp)
No description
int
getTotalCount()
Total number of times the entity has been viewed.
int
getDayCount()
Total number of times the entity has been viewed "today".
int
getTimestamp()
Timestamp of when the entity was last viewed.