ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilDclTextSelectionFieldRepresentation.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
class
ilDclTextSelectionFieldRepresentation
extends
ilDclSelectionFieldRepresentation
10
{
11
const
PROP_SELECTION_TYPE
=
'text_selection_type'
;
12
const
PROP_SELECTION_OPTIONS
=
'text_selection_options'
;
13
14
18
protected
function
buildOptionsInput
()
19
{
20
$selection_options =
new
ilDclGenericMultiInputGUI
($this->lng->txt(
'dcl_selection_options'
),
'prop_'
. static::PROP_SELECTION_OPTIONS);
21
$selection_options->
setMulti
(
true
,
true
);
22
23
$text
=
new
ilTextInputGUI
($this->lng->txt(
'dcl_selection_options'
),
'selection_value'
);
24
$selection_options->addInput(
$text
);
25
26
return
$selection_options;
27
}
28
}
ilDclTextSelectionFieldRepresentation\buildOptionsInput
buildOptionsInput()
Definition:
class.ilDclTextSelectionFieldRepresentation.php:18
ilDclSelectionFieldRepresentation
Class ilDclSelectionFieldRepresentation.
Definition:
class.ilDclSelectionFieldRepresentation.php:9
ilDclTextSelectionFieldRepresentation\PROP_SELECTION_OPTIONS
const PROP_SELECTION_OPTIONS
Definition:
class.ilDclTextSelectionFieldRepresentation.php:12
$text
$text
Definition:
errorreport.php:18
ilTextInputGUI
This class represents a text property in a property form.
Definition:
class.ilTextInputGUI.php:16
ilDclTextSelectionFieldRepresentation
Class ilDclTextSelectionFieldRepresentation.
Definition:
class.ilDclTextSelectionFieldRepresentation.php:9
ilDclGenericMultiInputGUI
Class ilDclGenericMultiInputGUI.
Definition:
class.ilDclGenericMultiInputGUI.php:10
ilDclTextSelectionFieldRepresentation\PROP_SELECTION_TYPE
const PROP_SELECTION_TYPE
Definition:
class.ilDclTextSelectionFieldRepresentation.php:11
php
ilDclGenericMultiInputGUI\setMulti
setMulti($a_multi, $a_sortable=false, $a_addremove=true)
Definition:
class.ilDclGenericMultiInputGUI.php:196
Modules
DataCollection
classes
Fields
TextSelection
class.ilDclTextSelectionFieldRepresentation.php
Generated on Thu Jan 16 2025 19:02:02 for ILIAS by
1.8.13 (using
Doxyfile
)