2require_once(
'./Modules/DataCollection/classes/Fields/Base/class.ilDclBaseFieldRepresentation.php');
15 $opt = parent::buildFieldCreationInput($dcl, $mode);
18 if(get_called_class() ==
'ilDclPluginFieldRepresentation') {
21 foreach($plugins as $plugin_name) {
23 $options[$plugin_data->getPluginName()] = $plugin_data->getPluginName();
28 $plugin_selection->setOptions(
$options);
29 $opt->addSubItem($plugin_selection);
30 if ($mode ==
"edit") {
31 $plugin_selection->setDisabled(
true);
37 $opt->addSubItem($plugin_selection);
An exception for terminatinating execution or to throw for unit testing.
const PROP_PLUGIN_HOOK_NAME
Class ilDclBaseFieldRepresentation.
Class ilDclPluginFieldRepresentation.
buildFieldCreationInput(ilObjDataCollection $dcl, $mode='create')
@inheritDoc
This class represents a non editable value in a property form.
Class ilObjDataCollection.
static getPluginObject($a_ctype, $a_cname, $a_slot_id, $a_pname)
Get Plugin Object.
static getActivePluginsForSlot($a_ctype, $a_cname, $a_slot_id)
Get all active plugins for a slot.
if(!is_array($argv)) $options