1 | <?php |
||
13 | final class Admin |
||
14 | { |
||
15 | /** |
||
16 | * The instance of the current class. |
||
17 | * |
||
18 | * @var self |
||
19 | */ |
||
20 | private static $instance; |
||
21 | |||
22 | /** |
||
23 | * The logs table. |
||
24 | * |
||
25 | * @var LogsTable |
||
26 | */ |
||
27 | public $logTable; |
||
28 | |||
29 | /** |
||
30 | * Singleton constructor. |
||
31 | * |
||
32 | * @return self |
||
33 | */ |
||
34 | public static function instance() |
||
42 | |||
43 | /** |
||
44 | * Constructor. |
||
45 | */ |
||
46 | private function __construct() |
||
54 | |||
55 | /** |
||
56 | * Loads the menu inside WordPress admin sidebar. |
||
57 | */ |
||
58 | public function menu() |
||
71 | |||
72 | /** |
||
73 | * Adds screen options. |
||
74 | */ |
||
75 | public function screenOptions() |
||
87 | |||
88 | /** |
||
89 | * Renders email log archive page. |
||
90 | */ |
||
91 | public function emailLogArchivePage() |
||
113 | } |
||
114 |