ILIAS
trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
Constants.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\MetaData\DataHelper
;
22
23
class
Constants
24
{
30
public
const
string
DURATION_REGEX
=
'/^P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)'
.
31
'?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)(?:.\d+)?S)?)?$/'
;
32
40
protected
const
string
DATETIME_REGEX
=
'/^(\d{4})(?:-(\d{2})(?:-(\d{2})'
.
41
'(?:T(\d{2})(?::(\d{2})(?::(\d{2})(?:\.(\d+)(Z|[+\-]'
.
42
'\d{2}(?::\d{2})?)?)?)?)?)?)?)?$/'
;
43
47
protected
const
array
LANGUAGES
= [
48
"aa"
,
49
"ab"
,
50
"af"
,
51
"am"
,
52
"ar"
,
53
"as"
,
54
"ay"
,
55
"az"
,
56
"ba"
,
57
"be"
,
58
"bg"
,
59
"bh"
,
60
"bi"
,
61
"bn"
,
62
"bo"
,
63
"br"
,
64
"ca"
,
65
"co"
,
66
"cs"
,
67
"cy"
,
68
"da"
,
69
"de"
,
70
"dz"
,
71
"el"
,
72
"en"
,
73
"eo"
,
74
"es"
,
75
"et"
,
76
"eu"
,
77
"fa"
,
78
"fi"
,
79
"fj"
,
80
"fo"
,
81
"fr"
,
82
"fy"
,
83
"ga"
,
84
"gd"
,
85
"gl"
,
86
"gn"
,
87
"gu"
,
88
"ha"
,
89
"he"
,
90
"hi"
,
91
"hr"
,
92
"hu"
,
93
"hy"
,
94
"ia"
,
95
"ie"
,
96
"ik"
,
97
"id"
,
98
"is"
,
99
"it"
,
100
"iu"
,
101
"ja"
,
102
"jv"
,
103
"ka"
,
104
"kk"
,
105
"kl"
,
106
"km"
,
107
"kn"
,
108
"ko"
,
109
"ks"
,
110
"ku"
,
111
"ky"
,
112
"la"
,
113
"ln"
,
114
"lo"
,
115
"lt"
,
116
"lv"
,
117
"mg"
,
118
"mi"
,
119
"mk"
,
120
"ml"
,
121
"mn"
,
122
"mo"
,
123
"mr"
,
124
"ms"
,
125
"mt"
,
126
"my"
,
127
"na"
,
128
"ne"
,
129
"nl"
,
130
"no"
,
131
"oc"
,
132
"om"
,
133
"or"
,
134
"pa"
,
135
"pl"
,
136
"ps"
,
137
"pt"
,
138
"qu"
,
139
"rm"
,
140
"rn"
,
141
"ro"
,
142
"ru"
,
143
"rw"
,
144
"sa"
,
145
"sd"
,
146
"sg"
,
147
"sh"
,
148
"si"
,
149
"sk"
,
150
"sl"
,
151
"sm"
,
152
"sn"
,
153
"so"
,
154
"sq"
,
155
"sr"
,
156
"ss"
,
157
"st"
,
158
"su"
,
159
"sv"
,
160
"sw"
,
161
"ta"
,
162
"te"
,
163
"tg"
,
164
"th"
,
165
"ti"
,
166
"tk"
,
167
"tl"
,
168
"tn"
,
169
"to"
,
170
"tr"
,
171
"ts"
,
172
"tt"
,
173
"tw"
,
174
"ug"
,
175
"uk"
,
176
"ur"
,
177
"uz"
,
178
"vi"
,
179
"vo"
,
180
"wo"
,
181
"xh"
,
182
"yi"
,
183
"yo"
,
184
"za"
,
185
"zh"
,
186
"zu"
,
187
"xx"
188
];
189
}
ILIAS\MetaData\DataHelper\Constants\DATETIME_REGEX
const string DATETIME_REGEX
This monstrosity makes sure datetimes conform to the format given by LOM, and picks out the relevant ...
Definition:
Constants.php:40
ILIAS\MetaData\DataHelper
Definition:
Constants.php:21
ILIAS\MetaData\DataHelper\Constants
Definition:
Constants.php:23
ILIAS\MetaData\DataHelper\Constants\DURATION_REGEX
const string DURATION_REGEX
This monstrosity makes sure durations conform to the format given by LOM, and picks out the relevant ...
Definition:
Constants.php:30
ILIAS\MetaData\DataHelper\Constants\LANGUAGES
const array LANGUAGES
Note that 'xx' should be translated to 'none'.
Definition:
Constants.php:47
components
ILIAS
MetaData
classes
DataHelper
Constants.php
Generated on Mon Apr 7 2025 23:02:37 for ILIAS by
1.8.13 (using
Doxyfile
)