Modules
3 months ago
Form_Field.php
5 months ago
Form_Field_Option.php
1 year ago
Module_Refresh_Job.php
1 year ago
Overview.php
1 year ago
WP_Options_Storage.php
9 months ago
Overview.php
19 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWP\Overview; |
| 4 | |
| 5 | use IAWP\Overview\Modules\Module; |
| 6 | /** @internal */ |
| 7 | class Overview |
| 8 | { |
| 9 | public function __construct() |
| 10 | { |
| 11 | } |
| 12 | public function get_report_html() : string |
| 13 | { |
| 14 | // Get modules first, so defaults can be set before last_refreshed_at is called... |
| 15 | $modules = Module::get_saved_modules(); |
| 16 | return \IAWPSCOPED\iawp_render('overview.overview', ['overview' => $this, 'last_refreshed_at' => Module::last_refreshed_at(), 'saved_modules' => $modules, 'template_modules' => Module::get_template_modules()]); |
| 17 | } |
| 18 | } |
| 19 |