ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ 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
16
22
public
function
getHTML
($link =
true
)
23
{
24
$record_field_value = $this->
getRecordField
()->getValue();
25
$values
=
ilDclSelectionOption::getValues
($this->
getField
()->getId(), $record_field_value);
26
27
return
is_array(
$values
) ? implode(
'<br>'
,
$values
) :
$values
;
28
}
29
}
ilDclSelectionOption\getValues
static getValues($field_id, $opt_ids)
Definition:
class.ilDclSelectionOption.php:206
ilDclSelectionRecordRepresentation\getHTML
getHTML($link=true)
Definition:
class.ilDclSelectionRecordRepresentation.php:22
ilDclSelectionRecordRepresentation
Class ilDclSelectionRecordRepresentation.
Definition:
class.ilDclSelectionRecordRepresentation.php:9
ilDclBaseRecordRepresentation\getField
getField()
Getter shortcut for field.
Definition:
class.ilDclBaseRecordRepresentation.php:144
$values
$values
Definition:
testOperations.php:7
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:133
ilDclSelectionRecordRepresentation\PROP_SELECTION_TYPE
const PROP_SELECTION_TYPE
Definition:
class.ilDclSelectionRecordRepresentation.php:13
php
Modules
DataCollection
classes
Fields
Selection
class.ilDclSelectionRecordRepresentation.php
Generated on Thu Jan 16 2025 19:02:02 for ILIAS by
1.8.13 (using
Doxyfile
)