ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
◀ ilDoc Overview
class.ilDclSelectionRecordRepresentation.php
Go to the documentation of this file.
1
<?php
2
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
9
abstract
class
ilDclSelectionRecordRepresentation
extends
ilDclBaseRecordRepresentation
10
{
11
12
// those should be overwritten by subclasses
13
const
PROP_SELECTION_TYPE
=
''
;
14
const
PROP_SELECTION_OPTIONS
=
''
;
15
21
public
function
getHTML
($link =
true
)
22
{
23
$record_field_value = $this->
getRecordField
()->getValue();
24
$values =
ilDclSelectionOption::getValues
($this->
getField
()->getId(), $record_field_value);
25
return
is_array($values) ? implode(
'<br>'
, $values) : $values;
26
}
27
}
ilDclSelectionOption\getValues
static getValues($field_id, $opt_ids)
Definition:
class.ilDclSelectionOption.php:207
ilDclSelectionRecordRepresentation\getHTML
getHTML($link=true)
Definition:
class.ilDclSelectionRecordRepresentation.php:21
ilDclSelectionRecordRepresentation
Class ilDclSelectionRecordRepresentation.
Definition:
class.ilDclSelectionRecordRepresentation.php:9
ilDclBaseRecordRepresentation\getField
getField()
Getter shortcut for field.
Definition:
class.ilDclBaseRecordRepresentation.php:133
ilDclSelectionRecordRepresentation\PROP_SELECTION_OPTIONS
const PROP_SELECTION_OPTIONS
Definition:
class.ilDclSelectionRecordRepresentation.php:14
ilDclBaseRecordRepresentation
Class ilDclBaseRecordRepresentation.
Definition:
class.ilDclBaseRecordRepresentation.php:10
ilDclBaseRecordRepresentation\getRecordField
getRecordField()
Get Record Field.
Definition:
class.ilDclBaseRecordRepresentation.php:123
ilDclSelectionRecordRepresentation\PROP_SELECTION_TYPE
const PROP_SELECTION_TYPE
Definition:
class.ilDclSelectionRecordRepresentation.php:13
Modules
DataCollection
classes
Fields
Selection
class.ilDclSelectionRecordRepresentation.php
Generated on Sat Jan 18 2025 19:01:15 for ILIAS by
1.8.13 (using
Doxyfile
)