PluginProbe
The GDPR Framework By Data443 / 2.1.0
The GDPR Framework By Data443 v2.1.0
2.5.0 2.4.0 trunk 1.0.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.3 1.0.33 1.0.34 1.0.35 1.0.36 1.0.37 1.0.39 1.0.4 1.0.40 1.0.41 1.0.42 1.0.43 1.0.44 1.0.45 1.0.46 All 41 releases
gdpr-framework / src / Installer / Steps / Finish.php

Finish.php in The GDPR Framework By Data443 2.1.0, at src/Installer/Steps/Finish.php

28 lines 623 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Codelight\GDPR\Installer\Steps;
4
5 use Codelight\GDPR\Installer\InstallerStep;
6 use Codelight\GDPR\Installer\InstallerStepInterface;
7
8 class Finish extends InstallerStep implements InstallerStepInterface
9 {
10 protected $slug = 'finish';
11
12 protected $type = 'wizard';
13
14 protected $template = 'installer/steps/finish';
15
16 protected $activeSteps = 4;
17
18 public function submit()
19 {
20 global $gdpr;
21 $gdpr->Options->set('is_installed', true);
22 }
23
24 protected function renderFooter()
25 {
26 echo gdpr('view')->render('installer/footer', ['disableBackButton' => true]);
27 }
28 }