| 1 |
<?php |
| 2 |
|
| 3 |
namespace Codelight\GDPR\Components\PrivacyToolsPage; |
| 4 |
|
| 5 |
class PrivacyToolsPage |
| 6 |
{ |
| 7 |
public function __construct() |
| 8 |
{ |
| 9 |
global $gdpr; |
| 10 |
$controller = new PrivacyToolsPageController( |
| 11 |
$gdpr->DataSubjectAuthenticator |
| 12 |
, $gdpr->DataSubjectIdentificator |
| 13 |
, $gdpr->DataSubject |
| 14 |
, $gdpr->DataExporter |
| 15 |
, $gdpr->UserConsentModel |
| 16 |
); |
| 17 |
$gdpr->Controller = $controller; |
| 18 |
new PrivacyToolsPageShortcode($controller, $gdpr->Consent); |
| 19 |
} |
| 20 |
} |