73 if (($this->
getField()->getId() ==
"owner" || $this->
getField()->getId() ==
"last_edit_by") && $filter) {
76 if (strpos(
$user->getFullname(), $filter) !==
false) {
133 $value =
$input->getValue();
134 if (is_array($value)) {
135 if ($value[
'from'] || $value[
'to']) {
160 $new_plugin_title = $opt->getTitle();
162 if ($plugin_name !==
"DclBase") {
163 $new_plugin_title .=
': ' . $plugin_name;
165 $opt->setTitle($new_plugin_title);
168 $form->addOption($opt);
182 $opt =
new ilRadioOption($this->lng->txt(
'dcl_' . $this->getField()->getDatatype()->getTitle()), $this->
getField()->getDatatypeId());
183 $opt->
setInfo($this->lng->txt(
'dcl_' . $this->getField()->getDatatype()->getTitle() .
'_desc'));
198 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.
if(isset($_POST['submit'])) $form
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)
if(empty($password)) $table
Class ilDclBaseFieldRepresentation.
static getPluginNameFromFieldModel(ilDclBaseFieldModel $object)
Get plugin-name from FieldModel.
getFilterInputFieldValue( $input)
Class ilObjDataCollection.