| 
    ILIAS
    release_9 Revision v9.13-25-g2c18ec4c24f
    
   | 
  
This class represents a text property in a property form. More...
 Inheritance diagram for ilTextInputGUI:
 Collaboration diagram for ilTextInputGUI: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 () | |
  Public Member Functions inherited from ilSubEnabledFormPropertyGUI | |
| 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) | |
  Public Member Functions inherited from ilFormPropertyGUI | |
| __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... | |
  Public Member Functions inherited from ilTableFilterItem | |
| getTableFilterLabelFor () | |
| Get label "for" attribute value.  More... | |
Additional Inherited Members | |
  Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters (string $a_text) | 
| Remove prohibited characters see #19159.  More... | |
  Protected Member Functions inherited from ilFormPropertyGUI | |
| symbol () | |
| 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\MetaData\Repository\Validation\Data\__construct(), ILIAS\Repository\lng(), setInputType(), and ilFormPropertyGUI\setType().
 Here is the call graph for this function:| 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().
 Here is the call graph for this function:| ilTextInputGUI::getCssClass | ( | ) | 
Definition at line 130 of file class.ilTextInputGUI.php.
References $css_class.
Referenced by ilMailQuickFilterInputGUI\render(), and render().
 Here is the caller graph for this function:| ilTextInputGUI::getDataSource | ( | ) | 
Definition at line 233 of file class.ilTextInputGUI.php.
References $ajax_datasource.
Referenced by render().
 Here is the caller graph for this function:| ilTextInputGUI::getDataSourceSubmitOnSelection | ( | ) | 
Definition at line 251 of file class.ilTextInputGUI.php.
References $ajax_datasource_commit.
Referenced by render().
 Here is the caller graph for this function:| ilTextInputGUI::getDataSourceSubmitUrl | ( | ) | 
Definition at line 261 of file class.ilTextInputGUI.php.
References $ajax_datasource_commit_url.
Referenced by render().
 Here is the caller graph for this function:| ilTextInputGUI::getInlineStyle | ( | ) | 
Definition at line 120 of file class.ilTextInputGUI.php.
References $style_css.
Referenced by ilMailQuickFilterInputGUI\render(), and render().
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTextInputGUI::getInputType | ( | ) | 
Definition at line 164 of file class.ilTextInputGUI.php.
References $input_type.
Referenced by ilMailQuickFilterInputGUI\render(), and render().
 Here is the caller graph for this function:| 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(), ilEssayKeywordWizardInputGUI\insert(), ilSelectBuilderInputGUI\insert(), ilMatrixRowWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilCategoryWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilMailQuickFilterInputGUI\render(), ilTextWizardInputGUI\render(), ilMultipleTextsInputGUI\render(), and render().
 Here is the caller graph for this function:| ilTextInputGUI::getPostValueForComparison | ( | ) | 
Definition at line 455 of file class.ilTextInputGUI.php.
References getInput().
 Here is the call graph for this function:| ilTextInputGUI::getSize | ( | ) | 
Definition at line 140 of file class.ilTextInputGUI.php.
References $size.
Referenced by ilKprimChoiceWizardInputGUI\checkInput(), ilEssayKeywordWizardInputGUI\insert(), ilSelectBuilderInputGUI\insert(), ilMatrixRowWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilCategoryWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilMailQuickFilterInputGUI\render(), ilTextWizardInputGUI\render(), ilMultipleTextsInputGUI\render(), and render().
 Here is the caller graph for this function:| ilTextInputGUI::getSubmitFormOnEnter | ( | ) | 
Definition at line 174 of file class.ilTextInputGUI.php.
References $submit_form_on_enter.
Referenced by ilMailQuickFilterInputGUI\render(), and render().
 Here is the caller graph for this function:| ilTextInputGUI::getSuffix | ( | ) | 
Definition at line 150 of file class.ilTextInputGUI.php.
References $suffix.
Referenced by ilMailQuickFilterInputGUI\render(), and render().
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:| ilTextInputGUI::getToolbarHTML | ( | ) | 
Get input item HTML to be inserted into ilToolbarGUI.
Implements ilToolbarItem.
Definition at line 439 of file class.ilTextInputGUI.php.
References render().
 Here is the call graph for this function:| ilTextInputGUI::getValidationFailureMessage | ( | ) | 
Definition at line 85 of file class.ilTextInputGUI.php.
References $validationFailureMessage.
Referenced by checkInput().
 Here is the caller graph for this function:| ilTextInputGUI::getValidationRegexp | ( | ) | 
Definition at line 95 of file class.ilTextInputGUI.php.
References $validationRegexp.
Referenced by ilSelectBuilderInputGUI\checkInput(), ilTextWizardInputGUI\checkInput(), checkInput(), and ilMultipleTextsInputGUI\onCheckInput().
 Here is the caller graph for this function:| ilTextInputGUI::getValue | ( | ) | 
Definition at line 75 of file class.ilTextInputGUI.php.
References $value.
Referenced by ilTRBLColorPickerInputGUI\insert(), ilColorPickerInputGUI\insert(), ilMailQuickFilterInputGUI\render(), and render().
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:| ilTextInputGUI::isHtmlAutoCompleteDisabled | ( | ) | 
Definition at line 450 of file class.ilTextInputGUI.php.
References $autocomplete_disabled.
Referenced by render().
 Here is the caller graph for this function:| ilTextInputGUI::render | ( | string | $a_mode = "" | ) | 
Definition at line 277 of file class.ilTextInputGUI.php.
References ilFormPropertyGUI\$lng, ilFormPropertyGUI\$postvar, $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().
 Here is the call graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:| ilTextInputGUI::setMultiValues | ( | array | $a_values | ) | 
Definition at line 266 of file class.ilTextInputGUI.php.
References $value.
Referenced by setValue().
 Here is the caller graph for this function:| ilTextInputGUI::setSize | ( | int | $a_size | ) | 
Definition at line 110 of file class.ilTextInputGUI.php.
Referenced by ilRoleAutoCompleteInputGUI\__construct(), ilMatchingWizardInputGUI\__construct(), ilAnswerWizardInputGUI\__construct(), ilSingleChoiceWizardInputGUI\__construct(), ilMultipleImagesInputGUI\__construct(), assNumericGUI\populateAnswerSpecificFormPart(), and assNumericGUI\populateCorrectionsFormProperties().
 Here is the caller graph for this function:| ilTextInputGUI::setSubmitFormOnEnter | ( | bool | $a_val | ) | 
Definition at line 169 of file class.ilTextInputGUI.php.
Referenced by ilMailFolderTableGUI\initFilter().
 Here is the caller graph for this function:| 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 ilAdvancedMDRecordTranslations\modifyTranslationInfoForTitle(), ilAdvancedMDFieldTranslations\modifyTranslationInfoForTitle(), and setValueByArray().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilTextInputGUI::setValueByArray | ( | array | $a_values | ) | 
Definition at line 135 of file class.ilTextInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
 Here is the call graph for this function:
      
  | 
  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(), ilMatchingWizardInputGUI\checkInput(), ilSingleChoiceWizardInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkUploads(), getSuffix(), ilMultipleChoiceWizardInputGUI\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(), ilEssayKeywordWizardInputGUI\insert(), ilSelectBuilderInputGUI\insert(), ilAssAnswerCorrectionsInputGUI\insert(), ilTRBLColorPickerInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilErrorTextWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilMailQuickFilterInputGUI\render(), ilTextWizardInputGUI\render(), ilMultipleTextsInputGUI\render(), render(), ilMultipleImagesInputGUI\render(), ilMultipleNestedOrderingElementsInputGUI\renderListItem(), ilMultipleNestedOrderingElementsInputGUI\renderMainList(), setMultiValues(), ilEssayKeywordWizardInputGUI\setValue(), ilAssClozeTestCombinationVariantsInputGUI\setValue(), ilKprimChoiceCorrectionsInputGUI\setValue(), ilMultipleChoiceWizardInputGUI\setValue(), ilAssMultipleChoiceCorrectionsInputGUI\setValue(), ilAssSingleChoiceCorrectionsInputGUI\setValue(), ilAssAnswerCorrectionsInputGUI\setValue(), ilAnswerWizardInputGUI\setValue(), ilSingleChoiceWizardInputGUI\setValue(), ilMatrixRowWizardInputGUI\setValue(), ilKprimChoiceWizardInputGUI\setValue(), ilCategoryWizardInputGUI\setValue(), ilMatchingWizardInputGUI\setValue(), ilMultipleImagesInputGUI\valueHasContentImageSource(), ilMultipleImagesInputGUI\valueHasContentImageTitle(), ilAssOrderingTextsInputGUI\valueHasContentText(), and ilMultipleTextsInputGUI\valueHasContentText().