27 $ilCtrl = $DIC[
'ilCtrl'];
30 $this->ctrl = $ilCtrl;
73 if (($this->
getField()->getId() ==
"owner" || $this->
getField()->getId() ==
"last_edit_by") && $filter) {
76 if (strpos($user->getFullname(), $filter) !==
false) {
132 $value = $input->getValue();
133 if (is_array($value)) {
134 if ($value[
'from'] || $value[
'to']) {
159 $new_plugin_title = $opt->getTitle();
161 if ($plugin_name !==
"DclBase") {
162 $new_plugin_title .=
': ' . $plugin_name;
164 $opt->setTitle($new_plugin_title);
167 $form->addOption($opt);
181 $opt =
new ilRadioOption($this->lng->txt(
'dcl_' . $this->getField()->getDatatype()->getTitle()), $this->
getField()->getDatatypeId());
182 $opt->
setInfo($this->lng->txt(
'dcl_' . $this->getField()->getDatatype()->getTitle() .
'_desc'));
197 return "prop_" . $property;
This class represents an option in a radio group.
Class ilDclBaseFieldModel.
passThroughFilter(ilDclBaseRecordModel $record, $filter)
Checks if a filter affects a record.
addFieldCreationForm($form, ilObjDataCollection $dcl, $mode="create")
Adds the options for the field-types to the field-creation form.
__construct(ilDclBaseFieldModel $field)
getPropertyInputFieldId($property)
Return post-var for property-fields.
setInfo($a_info)
Set Info.
buildFieldCreationInput(ilObjDataCollection $dcl, $mode='create')
Build the creation-input-field.
setupInputField(ilFormPropertyGUI $input, ilDclBaseFieldModel $field)
Sets basic settings on field-input.
setupFilterInputField(ilFormPropertyGUI $input)
Set basic settings for filter-input-gui.
addFilterInputFieldToTable(ilTable2GUI $table)
Add filter input to TableGUI.
getDescription()
Get description.
getField()
Return BaseFieldModel.
getInputField(ilPropertyFormGUI $form, $record_id=0)
Returns field-input.
Class ilDclBaseRecordModel.
getRecordFieldValue($field_id)
Get Field Value.
parseSortingValue($value, $link=true)
Class ilDclBaseFieldRepresentation.
static getPluginNameFromFieldModel(ilDclBaseFieldModel $object)
Get plugin-name from FieldModel.
getFilterInputFieldValue( $input)
Class ilObjDataCollection.