1 | <?php |
||
15 | class EntityNotificationStats extends Model |
||
16 | { |
||
17 | public $contents; |
||
18 | public $feedback; |
||
19 | public $comments; |
||
20 | |||
21 | public $total; |
||
22 | |||
23 | /** |
||
24 | * Calculate notification statistics |
||
25 | */ |
||
26 | public function before() |
||
34 | |||
35 | /** |
||
36 | * Calculate content on moderation |
||
37 | */ |
||
38 | private function calcContentsModerate() |
||
42 | |||
43 | /** |
||
44 | * Calculate unreaded feedback |
||
45 | */ |
||
46 | private function calcNewFeedback() |
||
50 | |||
51 | /** |
||
52 | * Calculate comments on moderation |
||
53 | */ |
||
54 | private function calcCommentsModerate() |
||
59 | |||
60 | } |