ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
class.ilDclCopyRecordRepresentation.php
Go to the documentation of this file.
1
<?php
2
19
class
ilDclCopyRecordRepresentation
extends
ilDclBaseRecordRepresentation
20
{
21
public
function
parseFormInput
($value)
22
{
23
if
($this->
getField
()->getProperty(
ilDclBaseFieldModel::PROP_N_REFERENCE
)) {
24
$value = [$value];
25
}
26
27
return
parent::parseFormInput($value);
28
}
29
30
public
function
getHTML
(
bool
$link =
true
, array $options = []): string
31
{
32
$return = parent::getHTML();
33
if
($this->
getField
()->getProperty(
ilDclBaseFieldModel::PROP_N_REFERENCE
)) {
34
$return = str_replace(
'; '
,
'<br>'
, $return);
35
}
36
return
$return;
37
}
38
}
ilDclBaseRecordRepresentation\getField
getField()
Getter shortcut for field.
Definition:
class.ilDclBaseRecordRepresentation.php:131
ilDclCopyRecordRepresentation
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilDclCopyRecordRepresentation.php:19
ilDclCopyRecordRepresentation\getHTML
getHTML(bool $link=true, array $options=[])
Definition:
class.ilDclCopyRecordRepresentation.php:30
ilDclBaseFieldModel\PROP_N_REFERENCE
const PROP_N_REFERENCE
Definition:
class.ilDclBaseFieldModel.php:50
ilDclBaseRecordRepresentation
Definition:
class.ilDclBaseRecordRepresentation.php:21
ilDclCopyRecordRepresentation\parseFormInput
parseFormInput($value)
Definition:
class.ilDclCopyRecordRepresentation.php:21
components
ILIAS
DataCollection
classes
Fields
Copy
class.ilDclCopyRecordRepresentation.php
Generated on Wed Sep 3 2025 23:02:52 for ILIAS by
1.8.13 (using
Doxyfile
)