| @@ -1,0 +1,27 @@ | ||
| 1 | +<?php | |
| 2 | + | |
| 3 | +namespace AcyMailing\Views\Stats; | |
| 4 | + | |
| 5 | +use AcyMailing\Core\AcymView; | |
| 6 | + | |
| 7 | +/** | |
| 8 | + * Class UsersViewUsers | |
| 9 | + */ | |
| 10 | +class StatsView extends AcymView | |
| 11 | +{ | |
| 12 | + public function __construct() | |
| 13 | + { | |
| 14 | + parent::__construct(); | |
| 15 | + | |
| 16 | + $this->tabs = [ | |
| 17 | + 'globalStats' => 'ACYM_OVERVIEW', | |
| 18 | + ]; | |
| 19 | + } | |
| 20 | + | |
| 21 | + public function isMailSelected($mailId, $clickMap) | |
| 22 | + { | |
| 23 | + | |
| 24 | + // We track the fact that he checked the mail stats once for the beginner's steps | |
| 25 | + $this->config->saveConfig(['mail_stats_checked_once' => 1]); | |
| 26 | + } | |
| 27 | +} | |