68 if (($this->
getField()->getId() ==
"owner" || $this->
getField()->getId() ==
"last_edit_by") && $filter) {
71 if (strpos($user->getFullname(), $filter) !==
false) {
121 $value = $input->getValue();
122 if (is_array($value)) {
123 if ($value[
'from'] || $value[
'to']) {
147 $new_plugin_title = $opt->getTitle();
149 if($plugin_name !==
"DclBase") {
150 $new_plugin_title .=
': '.$plugin_name;
152 $opt->setTitle($new_plugin_title);
155 $form->addOption($opt);
168 $opt =
new ilRadioOption($this->lng->txt(
'dcl_' . $this->getField()->getDatatype()->getTitle()), $this->
getField()->getDatatypeId());
169 $opt->
setInfo($this->lng->txt(
'dcl_' . $this->getField()->getDatatype()->getTitle().
'_desc'));
181 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.
getRequired()
Get Required Required.
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.