ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This class represents a text property in a property form. More...
Public Member Functions | |
__construct (string $a_title="", string $a_postvar="") | |
setValue ($a_value) | |
getValue () | |
setValidationFailureMessage (string $a_msg) | |
getValidationFailureMessage () | |
setValidationRegexp (string $a_value) | |
getValidationRegexp () | |
setMaxLength (?int $a_maxlength) | |
getMaxLength () | |
setSize (int $a_size) | |
setInlineStyle (string $a_style) | |
getInlineStyle () | |
setCssClass (string $a_class) | |
getCssClass () | |
setValueByArray (array $a_values) | |
getSize () | |
setSuffix (string $a_value) | |
getSuffix () | |
setInputType (string $a_type) | |
set input type More... | |
getInputType () | |
setSubmitFormOnEnter (bool $a_val) | |
getSubmitFormOnEnter () | |
checkInput () | |
getInput () | |
getDataSource () | |
setDataSource (string $href, string $a_delimiter=null) | |
setDataSourceSubmitOnSelection (bool $a_stat) | |
getDataSourceSubmitOnSelection () | |
setDataSourceSubmitUrl (string $a_url) | |
getDataSourceSubmitUrl () | |
setMultiValues (array $a_values) | |
render (string $a_mode="") | |
insert (ilTemplate $a_tpl) | |
getTableFilterHTML () | |
Get input item HTML to be inserted into table filters. More... | |
getToolbarHTML () | |
Get input item HTML to be inserted into ilToolbarGUI. More... | |
setDisableHtmlAutoComplete (bool $autocomplete) | |
isHtmlAutoCompleteDisabled () | |
getPostValueForComparison () | |
![]() | |
addSubItem (ilFormPropertyGUI $a_item) | |
getSubItems () | |
getSubInputItemsRecursive () | |
returns a flat array of possibly existing subitems recursively More... | |
checkSubItemsInput () | |
Check SubItems. More... | |
getSubForm () | |
getItemByPostVar (string $a_post_var) | |
![]() | |
__construct (string $a_title="", string $a_postvar="") | |
executeCommand () | |
getType () | |
setTitle (string $a_title) | |
getTitle () | |
setPostVar (string $a_postvar) | |
getPostVar () | |
getFieldId () | |
setInfo (string $a_info) | |
getInfo () | |
setAlert (string $a_alert) | |
getAlert () | |
setRequired (bool $a_required) | |
getRequired () | |
setDisabled (bool $a_disabled) | |
getDisabled () | |
checkInput () | |
Check input, strip slashes etc. More... | |
setParentForm (ilPropertyFormGUI $a_parentform) | |
getParentForm () | |
setParent (ilFormPropertyGUI $a_val) | |
getParent () | |
getSubForm () | |
hideSubForm () | |
setHiddenTitle (string $a_val) | |
getHiddenTitle () | |
getItemByPostVar (string $a_post_var) | |
Get item by post var. More... | |
serializeData () | |
unserializeData (string $a_data) | |
setParentTable ($a_val) | |
Set parent table. More... | |
getParentTable () | |
Get parent table. More... | |
writeToSession () | |
clearFromSession () | |
readFromSession () | |
getHiddenTag (string $a_post_var, string $a_value) | |
setMulti (bool $a_multi, bool $a_sortable=false, bool $a_addremove=true) | |
getMulti () | |
setMultiValues (array $a_values) | |
getMultiValues () | |
getContentOutsideFormTag () | |
Get content that has to reside outside of the parent form tag, e.g. More... | |
stripSlashesAddSpaceFallback (string $a_str) | |
Strip slashes with add space fallback, see https://www.ilias.de/mantis/view.php?id=19727. More... | |
getTableFilterLabelFor () | |
Get label "for" attribute value for filter. More... | |
getFormLabelFor () | |
Get label "for" attribute value for form. More... | |
setRequestParam (string $key, $val) | |
This writes the request (aka post) values. More... | |
![]() | |
getTableFilterLabelFor () | |
Get label "for" attribute value. More... | |
Additional Inherited Members | |
![]() | |
static | removeProhibitedCharacters (string $a_text) |
Remove prohibited characters see #19159. More... | |
![]() | |
setType (string $a_type) | |
checkParentFormTable () | |
getSessionKey () | |
getMultiIconsHTML () | |
int ($key) | |
intArray ($key) | |
str ($key) | |
raw ($key) | |
strArray ($key) | |
arrayArray ($key) | |
isRequestParamArray (string $key) | |
getRequestParam (string $key, Refinery\Transformation $t) | |
This class represents a text property in a property form.
Definition at line 26 of file class.ilTextInputGUI.php.
ilTextInputGUI::__construct | ( | string | $a_title = "" , |
string | $a_postvar = "" |
||
) |
Definition at line 48 of file class.ilTextInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), setInputType(), and ilFormPropertyGUI\setType().
ilTextInputGUI::checkInput | ( | ) |
Definition at line 179 of file class.ilTextInputGUI.php.
References ilFormPropertyGUI\$lng, $value, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getValidationFailureMessage(), getValidationRegexp(), ilFormPropertyGUI\setAlert(), ilFormPropertyGUI\str(), ilFormPropertyGUI\strArray(), and ilLanguage\txt().
ilTextInputGUI::getCssClass | ( | ) |
Definition at line 130 of file class.ilTextInputGUI.php.
References $css_class.
Referenced by ilMailQuickFilterInputGUI\render(), and render().
ilTextInputGUI::getDataSource | ( | ) |
Definition at line 233 of file class.ilTextInputGUI.php.
References $ajax_datasource.
Referenced by render().
ilTextInputGUI::getDataSourceSubmitOnSelection | ( | ) |
Definition at line 251 of file class.ilTextInputGUI.php.
References $ajax_datasource_commit.
Referenced by render().
ilTextInputGUI::getDataSourceSubmitUrl | ( | ) |
Definition at line 261 of file class.ilTextInputGUI.php.
References $ajax_datasource_commit_url.
Referenced by render().
ilTextInputGUI::getInlineStyle | ( | ) |
Definition at line 120 of file class.ilTextInputGUI.php.
References $style_css.
Referenced by ilMailQuickFilterInputGUI\render(), and render().
ilTextInputGUI::getInput | ( | ) |
Definition at line 225 of file class.ilTextInputGUI.php.
References ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\str(), and ilFormPropertyGUI\strArray().
Referenced by ilUriInputGUI\checkInput(), and getPostValueForComparison().
ilTextInputGUI::getInputType | ( | ) |
Definition at line 164 of file class.ilTextInputGUI.php.
References $input_type.
Referenced by ilMailQuickFilterInputGUI\render(), and render().
ilTextInputGUI::getMaxLength | ( | ) |
Definition at line 105 of file class.ilTextInputGUI.php.
References $maxlength.
Referenced by ilEssayKeywordWizardInputGUI\checkInput(), ilMultipleChoiceWizardInputGUI\checkInput(), ilTextWizardInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkInput(), ilSingleChoiceWizardInputGUI\checkInput(), ilSelectBuilderInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilMatrixRowWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilCategoryWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilDclMultiTextInputGUI\render(), ilMailQuickFilterInputGUI\render(), ilTextWizardInputGUI\render(), ilMultipleTextsInputGUI\render(), and render().
ilTextInputGUI::getPostValueForComparison | ( | ) |
Definition at line 455 of file class.ilTextInputGUI.php.
References getInput().
ilTextInputGUI::getSize | ( | ) |
Definition at line 140 of file class.ilTextInputGUI.php.
References $size.
Referenced by ilKprimChoiceWizardInputGUI\checkInput(), ilSelectBuilderInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilMatrixRowWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilCategoryWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilDclMultiTextInputGUI\render(), ilMailQuickFilterInputGUI\render(), ilTextWizardInputGUI\render(), ilMultipleTextsInputGUI\render(), and render().
ilTextInputGUI::getSubmitFormOnEnter | ( | ) |
Definition at line 174 of file class.ilTextInputGUI.php.
References $submit_form_on_enter.
Referenced by ilMailQuickFilterInputGUI\render(), and render().
ilTextInputGUI::getSuffix | ( | ) |
Definition at line 150 of file class.ilTextInputGUI.php.
References $suffix.
Referenced by ilMailQuickFilterInputGUI\render(), and render().
ilTextInputGUI::getTableFilterHTML | ( | ) |
Get input item HTML to be inserted into table filters.
Implements ilTableFilterItem.
Definition at line 433 of file class.ilTextInputGUI.php.
References render().
ilTextInputGUI::getToolbarHTML | ( | ) |
Get input item HTML to be inserted into ilToolbarGUI.
Implements ilToolbarItem.
Definition at line 439 of file class.ilTextInputGUI.php.
References render().
ilTextInputGUI::getValidationFailureMessage | ( | ) |
Definition at line 85 of file class.ilTextInputGUI.php.
References $validationFailureMessage.
Referenced by checkInput().
ilTextInputGUI::getValidationRegexp | ( | ) |
Definition at line 95 of file class.ilTextInputGUI.php.
References $validationRegexp.
Referenced by ilSelectBuilderInputGUI\checkInput(), ilTextWizardInputGUI\checkInput(), checkInput(), and ilMultipleTextsInputGUI\onCheckInput().
ilTextInputGUI::getValue | ( | ) |
Definition at line 75 of file class.ilTextInputGUI.php.
References $value.
Referenced by ilColorPickerInputGUI\insert(), ilTRBLColorPickerInputGUI\insert(), ilMailQuickFilterInputGUI\render(), and render().
ilTextInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 424 of file class.ilTextInputGUI.php.
References ilTemplate\parseCurrentBlock(), render(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
ilTextInputGUI::isHtmlAutoCompleteDisabled | ( | ) |
Definition at line 450 of file class.ilTextInputGUI.php.
References $autocomplete_disabled.
Referenced by render().
ilTextInputGUI::render | ( | string | $a_mode = "" | ) |
Definition at line 277 of file class.ilTextInputGUI.php.
References ilFormPropertyGUI\$lng, ilFormPropertyGUI\$postvar, $tpl, $value, getCssClass(), getDataSource(), getDataSourceSubmitOnSelection(), getDataSourceSubmitUrl(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), ilFormPropertyGUI\getHiddenTag(), ilFormPropertyGUI\getInfo(), getInlineStyle(), getInputType(), getMaxLength(), ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getMultiIconsHTML(), ilFormPropertyGUI\getMultiValues(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getSize(), getSubmitFormOnEnter(), getSuffix(), ilFormPropertyGUI\getTitle(), getValue(), iljQueryUtil\initjQuery(), iljQueryUtil\initjQueryUI(), isHtmlAutoCompleteDisabled(), ilLegacyFormElementsUtil\prepareFormOutput(), and ilLanguage\txt().
Referenced by getTableFilterHTML(), getToolbarHTML(), ilAssLongmenuCorrectionsInputGUI\insert(), and insert().
ilTextInputGUI::setCssClass | ( | string | $a_class | ) |
Definition at line 125 of file class.ilTextInputGUI.php.
ilTextInputGUI::setDataSource | ( | string | $href, |
string | $a_delimiter = null |
||
) |
Definition at line 238 of file class.ilTextInputGUI.php.
Referenced by ilRoleAutoCompleteInputGUI\__construct().
ilTextInputGUI::setDataSourceSubmitOnSelection | ( | bool | $a_stat | ) |
Definition at line 246 of file class.ilTextInputGUI.php.
ilTextInputGUI::setDataSourceSubmitUrl | ( | string | $a_url | ) |
Definition at line 256 of file class.ilTextInputGUI.php.
ilTextInputGUI::setDisableHtmlAutoComplete | ( | bool | $autocomplete | ) |
Definition at line 445 of file class.ilTextInputGUI.php.
ilTextInputGUI::setInlineStyle | ( | string | $a_style | ) |
Definition at line 115 of file class.ilTextInputGUI.php.
Referenced by assClozeTestGUI\populateNumericGapFormPart().
ilTextInputGUI::setInputType | ( | string | $a_type | ) |
set input type
string | $a_type | input type password | text |
Definition at line 159 of file class.ilTextInputGUI.php.
Referenced by ilRoleAutoCompleteInputGUI\__construct(), and __construct().
ilTextInputGUI::setMaxLength | ( | ?int | $a_maxlength | ) |
Definition at line 100 of file class.ilTextInputGUI.php.
Referenced by ilRoleAutoCompleteInputGUI\__construct(), ilMatrixRowWizardInputGUI\__construct(), ilCategoryWizardInputGUI\__construct(), ilMatchingWizardInputGUI\__construct(), and ilSingleChoiceWizardInputGUI\__construct().
ilTextInputGUI::setMultiValues | ( | array | $a_values | ) |
Definition at line 266 of file class.ilTextInputGUI.php.
References $value.
Referenced by setValue().
ilTextInputGUI::setSize | ( | int | $a_size | ) |
Definition at line 110 of file class.ilTextInputGUI.php.
Referenced by ilRoleAutoCompleteInputGUI\__construct(), ilImageWizardInputGUI\__construct(), ilAnswerWizardInputGUI\__construct(), ilMatchingWizardInputGUI\__construct(), ilSingleChoiceWizardInputGUI\__construct(), assNumericGUI\populateAnswerSpecificFormPart(), and assNumericGUI\populateCorrectionsFormProperties().
ilTextInputGUI::setSubmitFormOnEnter | ( | bool | $a_val | ) |
Definition at line 169 of file class.ilTextInputGUI.php.
Referenced by ilMailFolderTableGUI\initFilter().
ilTextInputGUI::setSuffix | ( | string | $a_value | ) |
Definition at line 145 of file class.ilTextInputGUI.php.
ilTextInputGUI::setValidationFailureMessage | ( | string | $a_msg | ) |
Definition at line 80 of file class.ilTextInputGUI.php.
ilTextInputGUI::setValidationRegexp | ( | string | $a_value | ) |
Definition at line 90 of file class.ilTextInputGUI.php.
ilTextInputGUI::setValue | ( | $a_value | ) |
string | array | $a_value |
Definition at line 63 of file class.ilTextInputGUI.php.
References ilFormPropertyGUI\getMulti(), and setMultiValues().
Referenced by ilUserProfile\addStandardFieldsToForm(), ilAdvancedMDRecordTranslations\modifyTranslationInfoForTitle(), ilAdvancedMDFieldTranslations\modifyTranslationInfoForTitle(), and setValueByArray().
ilTextInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 135 of file class.ilTextInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
|
protected |
Definition at line 39 of file class.ilTextInputGUI.php.
Referenced by getDataSource().
|
protected |
Definition at line 41 of file class.ilTextInputGUI.php.
Referenced by getDataSourceSubmitOnSelection().
|
protected |
Definition at line 42 of file class.ilTextInputGUI.php.
Referenced by getDataSourceSubmitUrl().
|
protected |
Definition at line 40 of file class.ilTextInputGUI.php.
|
protected |
Definition at line 45 of file class.ilTextInputGUI.php.
Referenced by isHtmlAutoCompleteDisabled().
|
protected |
Definition at line 38 of file class.ilTextInputGUI.php.
Referenced by getCssClass().
|
protected |
Definition at line 46 of file class.ilTextInputGUI.php.
Referenced by getInputType().
|
protected |
Definition at line 32 of file class.ilTextInputGUI.php.
Referenced by getMaxLength().
|
protected |
Definition at line 33 of file class.ilTextInputGUI.php.
Referenced by getSize().
|
protected |
Definition at line 37 of file class.ilTextInputGUI.php.
Referenced by getInlineStyle().
|
protected |
Definition at line 43 of file class.ilTextInputGUI.php.
Referenced by getSubmitFormOnEnter().
|
protected |
Definition at line 36 of file class.ilTextInputGUI.php.
Referenced by ilMultipleChoiceWizardInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkInput(), ilImageWizardInputGUI\checkInput(), ilMatchingWizardInputGUI\checkInput(), ilSingleChoiceWizardInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkUploads(), getSuffix(), ilMultipleChoiceWizardInputGUI\insert(), ilImageWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilMultipleImagesInputGUI\onCheckInput(), and ilMultipleImagesInputGUI\render().
|
protected |
Definition at line 35 of file class.ilTextInputGUI.php.
Referenced by getValidationFailureMessage().
|
protected |
Definition at line 34 of file class.ilTextInputGUI.php.
Referenced by getValidationRegexp().
|
protected |
Definition at line 31 of file class.ilTextInputGUI.php.
Referenced by ilKprimChoiceCorrectionsInputGUI\checkInput(), ilRegExpInputGUI\checkInput(), ilSelectBuilderInputGUI\checkInput(), ilTextWizardInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkInput(), ilTRBLColorPickerInputGUI\checkInput(), checkInput(), ilMultipleImagesInputGUI\fetchContentImageSourceFromValue(), ilMultipleImagesInputGUI\fetchContentImageTitleFromValue(), ilMultipleTextsInputGUI\fetchContentTextFromValue(), ilColorPickerInputGUI\getInput(), getValue(), ilAssErrorTextCorrectionsInputGUI\insert(), ilAssSingleChoiceCorrectionsInputGUI\insert(), ilAssMultipleChoiceCorrectionsInputGUI\insert(), ilSelectBuilderInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilAssAnswerCorrectionsInputGUI\insert(), ilTRBLColorPickerInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilImageWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilErrorTextWizardInputGUI\insert(), ilKVPWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilDclMultiTextInputGUI\render(), ilMailQuickFilterInputGUI\render(), ilTextWizardInputGUI\render(), ilMultipleTextsInputGUI\render(), ilMultipleImagesInputGUI\render(), render(), ilMultipleNestedOrderingElementsInputGUI\renderListItem(), ilMultipleNestedOrderingElementsInputGUI\renderMainList(), setMultiValues(), ilEssayKeywordWizardInputGUI\setValue(), ilAssClozeTestCombinationVariantsInputGUI\setValue(), ilKprimChoiceCorrectionsInputGUI\setValue(), ilMultipleChoiceWizardInputGUI\setValue(), ilDclMultiTextInputGUI\setValue(), ilAssSingleChoiceCorrectionsInputGUI\setValue(), ilAssMultipleChoiceCorrectionsInputGUI\setValue(), ilImageWizardInputGUI\setValue(), ilAnswerWizardInputGUI\setValue(), ilAssAnswerCorrectionsInputGUI\setValue(), ilSingleChoiceWizardInputGUI\setValue(), ilMatrixRowWizardInputGUI\setValue(), ilKprimChoiceWizardInputGUI\setValue(), ilCategoryWizardInputGUI\setValue(), ilMatchingWizardInputGUI\setValue(), ilMultipleImagesInputGUI\valueHasContentImageSource(), ilMultipleImagesInputGUI\valueHasContentImageTitle(), ilAssOrderingTextsInputGUI\valueHasContentText(), and ilMultipleTextsInputGUI\valueHasContentText().