diff options
Diffstat (limited to 'public/admin/controller/event/statistics.php')
-rw-r--r-- | public/admin/controller/event/statistics.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/public/admin/controller/event/statistics.php b/public/admin/controller/event/statistics.php new file mode 100644 index 0000000..46e55e2 --- /dev/null +++ b/public/admin/controller/event/statistics.php @@ -0,0 +1,16 @@ +<?php +class ControllerEventStatistics extends Controller { + // model/catalog/review/removeReview/after + public function removeReview(&$route, &$args, &$output) { + $this->load->model('setting/statistics'); + + $this->model_report_statistics->addValue('review', 1); + } + + // model/sale/return/removeReturn/after + public function removeReturn(&$route, &$args, &$output) { + $this->load->model('setting/statistics'); + + $this->model_report_statistics->addValue('return', 1); + } +}
\ No newline at end of file |