This repository has been archived by the owner on Jun 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathConstant.php
179 lines (153 loc) · 4.63 KB
/
Constant.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<?php
declare(strict_types=1);
/*
* This file is part of the Zikula package.
*
* Copyright Zikula - https://ziku.la/
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Zikula\LegalModule;
/**
* Module-wide constants for the Legal module.
*
* NOTE: Do not define anything other than constants in this class!
*/
class Constant
{
/**
* The official internal module name.
*
* @var string
*/
public const MODNAME = 'ZikulaLegalModule';
/**
* The form data prefix
*/
public const FORM_BLOCK_PREFIX = 'zikulalegalmodule_policy';
/**
* This key is used to 'disguise' the purpose of passing the UID in the session.
*/
public const FORCE_POLICY_ACCEPTANCE_SESSION_UID_KEY = 'kjh4kjgsdkjyf76r44hf9';
/**
* The module variable name indicating that the legal notice is active.
*
* @var string
*/
public const MODVAR_LEGALNOTICE_ACTIVE = 'legalNoticeActive';
/**
* The module variable name indicating that the terms of use is active.
*
* @var string
*/
public const MODVAR_TERMS_ACTIVE = 'termsOfUseActive';
/**
* The module variable name indicating that the privacy policy is active.
*
* @var string
*/
public const MODVAR_PRIVACY_ACTIVE = 'privacyPolicyActive';
/**
* The module variable name indicating that the accessibility statement is active.
*
* @var string
*/
public const MODVAR_ACCESSIBILITY_ACTIVE = 'accessibilityStatementActive';
/**
* The module variable name indicating that the trade conditions page is active.
*
* @var string
*/
public const MODVAR_TRADECONDITIONS_ACTIVE = 'tradeConditionsActive';
/**
* The module variable name indicating that the cancellation right policy page is active.
*
* @var string
*/
public const MODVAR_CANCELLATIONRIGHTPOLICY_ACTIVE = 'cancellationRightPolicyActive';
/**
* The module variable name storing an optional url for the legal notice.
*
* @var string
*/
public const MODVAR_LEGALNOTICE_URL = 'legalNoticeUrl';
/**
* The module variable name storing an optional url for the terms of use.
*
* @var string
*/
public const MODVAR_TERMS_URL = 'termsOfUseUrl';
/**
* The module variable name storing an optional url for the privacy policy.
*
* @var string
*/
public const MODVAR_PRIVACY_URL = 'privacyPolicyUrl';
/**
* The module variable name storing an optional url for the accessibility guidelines.
*
* @var string
*/
public const MODVAR_ACCESSIBILITY_URL = 'accessibilityStatementUrl';
/**
* The module variable name storing an optional url for the trade conditions.
*
* @var string
*/
public const MODVAR_TRADECONDITIONS_URL = 'tradeConditionsUrl';
/**
* The module variable name storing an optional url for the cancellation right policy.
*
* @var string
*/
public const MODVAR_CANCELLATIONRIGHTPOLICY_URL = 'cancellationRightPolicyUrl';
/**
* The module variable containing the minimum age.
*
* @var string
*/
public const MODVAR_MINIMUM_AGE = 'minimumAge';
/**
* The module variable indicating that the EU cookie law complaince option is enabled.
*
* @var string
*/
public const MODVAR_EUCOOKIE = 'eucookie';
/**
* Users account record attribute key for terms of use acceptance.
*
* @var string
*/
public const ATTRIBUTE_TERMSOFUSE_ACCEPTED = '_Legal_termsOfUseAccepted';
/**
* Users account record attribute key for terms of use acceptance.
*
* @var string
*/
public const ATTRIBUTE_PRIVACYPOLICY_ACCEPTED = '_Legal_privacyPolicyAccepted';
/**
* Users account record attribute key for age policy confirmation.
*
* @var string
*/
public const ATTRIBUTE_AGEPOLICY_CONFIRMED = '_Legal_agePolicyConfirmed';
/**
* Users account record attribute key for trade conditions acceptance.
*
* @var string
*/
public const ATTRIBUTE_TRADECONDITIONS_ACCEPTED = '_Legal_tradeConditionsConfirmed';
/**
* Users account record attribute key for cancellation right policy acceptance.
*
* @var string
*/
public const ATTRIBUTE_CANCELLATIONRIGHTPOLICY_ACCEPTED = '_Legal_cancellationRightPolicyConfirmed';
/**
* Users account record attribute key for eu cookie acceptance.
*
* @var string
*/
public const ATTRIBUTE_EUCOOKIE_ACCEPTED = '_Legal_euCookieConfirmed';
}