29 $input->setSubmitFormOnEnter(
true);
41 $pass = parent::passThroughFilter($record, $filter);
44 if (!$filter || strpos(strtolower($value), strtolower($filter)) !==
false) {
57 $input->setMaxNumOfChars(4000);
70 $input->setInfo($this->
lng->txt(
'dcl_text_email_detail_desc'));
72 $this->
lng->txt(
'dcl_text_email_title'),
73 'field_' . $this->getField()->getId() .
'_title'
75 $title_field->setInfo($this->
lng->txt(
'dcl_text_email_title_info'));
76 $input->addSubItem($title_field);
86 $opt = parent::buildFieldCreationInput($dcl, $mode);
89 $this->
lng->txt(
'dcl_length'),
92 $prop_length->setSize(5);
93 $prop_length->setMaxValue(4000);
94 $prop_length->setInfo($this->
lng->txt(
'dcl_length_info'));
96 $opt->addSubItem($prop_length);
99 $this->
lng->txt(
'dcl_regex'),
102 $prop_regex->setInfo($this->
lng->txt(
'dcl_regex_info'));
104 $opt->addSubItem($prop_regex);
107 $this->
lng->txt(
'dcl_url'),
110 $opt->addSubItem($prop_url);
113 $this->
lng->txt(
'dcl_text_area'),
116 $opt->addSubItem($prop_textarea);
119 $this->
lng->txt(
'dcl_link_detail_page'),
122 $opt->addSubItem($prop_page_details);
const PROP_LINK_DETAIL_PAGE_TEXT
const PROP_LENGTH
General properties.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setupInputField(ilFormPropertyGUI $input, ilDclBaseFieldModel $field)
Sets basic settings on field-input.
setupFilterInputField(?ilTableFilterItem $input)
Set basic settings for filter-input-gui.
getFilterInputFieldValue(ilTableFilterItem $input)
getField()
Return BaseFieldModel.
getRecordFieldValue(?int $field_id)
Get Field Value.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getInputField(ilPropertyFormGUI $form, ?int $record_id=null)
Returns field-input.
buildFieldCreationInput(ilObjDataCollection $dcl, string $mode='create')
Build the creation-input-field.
addFilterInputFieldToTable(ilTable2GUI $table)
Add filter input to TableGUI.
passThroughFilter(ilDclBaseRecordModel $record, $filter)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
addFilterItemByMetaType(string $id, int $type=self::FILTER_TEXT, bool $a_optional=false, string $caption="")
Add filter by standard type.
This class represents a text area property in a property form.