class CollectionStatisticsModel |
|
A model that provides statistics for collections.
This model extends the CollectionModel by providing additional information about the collections, e.g. the number of items in a collection or the number of read/unread items. Example:
Author Volker Krause |
|
Creates a new collection statistics model.
parent - The parent object. |
|
|
|
Describes the roles for the statistics collection model.
| UnreadRole | - CollectionModel::UserRole+1 | - | ||
| TotalRole | - | - | ||
| StatisticsRole | - | - | ||
| RecursiveUnreadRole | - | - | ||
| RecursiveTotalRole | - | - | ||
| RecursiveStatisticsRole | - | - | ||
| UserRole | - CollectionModel::UserRole+42 | - |