16 $opt = parent::buildFieldCreationInput($dcl, $mode);
19 if (get_called_class() ==
'ilDclPluginFieldRepresentation') {
22 foreach ($plugins as $plugin_name) {
24 $options[$plugin_data->getPluginName()] = $plugin_data->getPluginName();
29 $plugin_selection->setOptions(
$options);
30 $opt->addSubItem($plugin_selection);
31 if ($mode ==
"edit") {
32 $plugin_selection->setDisabled(
true);
37 $opt->addSubItem($plugin_selection);
if(!isset( $_REQUEST[ 'ReturnTo'])) if(!isset($_REQUEST['AuthId'])) $options
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.