ILIAS
trunk Revision v11.0_alpha-1689-g66c127b4ae8
◀ 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
class.ilDclDateSelectionRecordFieldModel.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
class
ilDclDateSelectionRecordFieldModel
extends
ilDclSelectionRecordFieldModel
22
{
23
public
const
PROP_SELECTION_TYPE
=
'date_selection_type'
;
24
public
const
PROP_SELECTION_OPTIONS
=
'date_selection_options'
;
25
26
public
function
parseExportValue
(
$value
): string
27
{
28
$dates = [];
29
foreach
(
ilDclSelectionOption::getValues
((
int
) $this->
getField
()->
getId
(),
$value
) as
$value
) {
30
$date =
new
ilDate
($value,
IL_CAL_DATE
);
31
$dates[] = $date->get(
IL_CAL_DATE
);
32
}
33
return
implode(
"; "
, $dates);
34
}
35
}
ilDclBaseRecordFieldModel\$value
$value
Definition:
class.ilDclBaseRecordFieldModel.php:29
ilDate
ilDclSelectionOption\getValues
static getValues(int $field_id, $opt_ids)
Definition:
class.ilDclSelectionOption.php:157
ilDclBaseRecordFieldModel\getField
getField()
Definition:
class.ilDclBaseRecordFieldModel.php:343
ilDclBaseRecordFieldModel\getId
getId()
Definition:
class.ilDclBaseRecordFieldModel.php:348
ilDclSelectionRecordFieldModel
Definition:
class.ilDclSelectionRecordFieldModel.php:21
ilDclDateSelectionRecordFieldModel\PROP_SELECTION_TYPE
const PROP_SELECTION_TYPE
Definition:
class.ilDclDateSelectionRecordFieldModel.php:23
ilDclDateSelectionRecordFieldModel
Definition:
class.ilDclDateSelectionRecordFieldModel.php:21
IL_CAL_DATE
const IL_CAL_DATE
Definition:
class.ilDateTime.php:22
ilDclDateSelectionRecordFieldModel\parseExportValue
parseExportValue($value)
Definition:
class.ilDclDateSelectionRecordFieldModel.php:26
ilDclDateSelectionRecordFieldModel\PROP_SELECTION_OPTIONS
const PROP_SELECTION_OPTIONS
Definition:
class.ilDclDateSelectionRecordFieldModel.php:24
components
ILIAS
DataCollection
classes
Fields
DateSelection
class.ilDclDateSelectionRecordFieldModel.php
Generated on Wed Apr 2 2025 23:02:41 for ILIAS by
1.8.13 (using
Doxyfile
)