19 declare(strict_types=1);
31 $input->setSubmitFormOnEnter(
true);
43 $pass = parent::passThroughFilter($record, $filter);
46 if (!$filter || strpos(strtolower($value), strtolower($filter)) !==
false) {
58 $input->setMaxNumOfChars($length ?: 4000);
62 $input->setMaxLength($length);
65 $input->setTitle($this->
getField()->getTitle());
69 $input->setInfo($this->
lng->txt(
'dcl_text_email_detail_desc'));
71 $this->
lng->txt(
'dcl_text_email_title'),
72 'field_' . $this->
getField()->getId() .
'_title' 74 $title_field->
setInfo($this->
lng->txt(
'dcl_text_email_title_info'));
75 $input->addSubItem($title_field);
76 } elseif ($length > 0) {
77 $input->setInfo(sprintf($this->
lng->txt(
"dcl_max_text_length"), $length));
87 $opt = parent::buildFieldCreationInput($dcl, $mode);
90 $this->
lng->txt(
'dcl_length'),
93 $prop_length->setSize(5);
94 $prop_length->setMaxValue(4000);
95 $prop_length->setInfo($this->
lng->txt(
'dcl_length_info'));
97 $opt->addSubItem($prop_length);
100 $this->
lng->txt(
'dcl_url'),
106 $this->
lng->txt(
'dcl_text_area'),
112 $this->
lng->txt(
'dcl_link_detail_page'),
118 $this->
lng->txt(
'dcl_regex'),
121 $prop_regex->
setInfo($this->
lng->txt(
'dcl_regex_info'));
123 $opt->addSubItem($prop_regex);
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
getRecordFieldValue(?string $field_id)
Get Field Value.
getFilterInputFieldValue(ilTableFilterItem $input)
passThroughFilter(ilDclBaseRecordModel $record, $filter)
setupInputField(ilFormPropertyGUI $input, ilDclBaseFieldModel $field)
Sets basic settings on field-input.
const PROP_LINK_DETAIL_PAGE_TEXT
addFilterItemByMetaType(string $id, int $type=self::FILTER_TEXT, bool $a_optional=false, string $caption="")
Add filter by standard type.
getPropertyInputFieldId(string $property)
Return post-var for property-fields.
const PROP_LENGTH
General properties.
setupFilterInputField(?ilTableFilterItem $input)
Set basic settings for filter-input-gui.
getInputField(ilPropertyFormGUI $form, ?int $record_id=null)
getField()
Return BaseFieldModel.
buildFieldCreationInput(ilObjDataCollection $dcl, string $mode='create')
addFilterInputFieldToTable(ilTable2GUI $table)
This class represents a text area property in a property form.