17 $opt = parent::buildFieldCreationInput($dcl, $mode);
20 if (get_called_class() ==
'ilDclPluginFieldRepresentation') {
23 foreach ($plugins as $plugin_name) {
25 $options[$plugin_data->getPluginName()] = $plugin_data->getPluginName();
31 $opt->addSubItem($plugin_selection);
32 if ($mode ==
"edit") {
33 $plugin_selection->setDisabled(
true);
static getActivePluginsForSlot($a_ctype, $a_cname, $a_slot_id)
Get all active plugins for a slot.
const PROP_PLUGIN_HOOK_NAME
buildFieldCreationInput(ilObjDataCollection $dcl, $mode='create')
static getPluginObject($a_ctype, $a_cname, $a_slot_id, $a_pname)
Get Plugin Object.
Class ilDclPluginFieldRepresentation.
This class represents a non editable value in a property form.
Class ilDclBaseFieldRepresentation.
Class ilObjDataCollection.