|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 () | |
| Check input, strip slashes etc. More... | |
| 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) | |
| Get item by post var. More... | |
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 | |
| getTableFilterHTML () | |
| Get input item HTML to be inserted into table filters. More... | |
| getTableFilterLabelFor () | |
| Get label "for" attribute value. More... | |
| getToolbarHTML () | |
| Get input item HTML to be inserted into ilToolbarGUI. 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 27 of file class.ilTextInputGUI.php.
| ilTextInputGUI::__construct | ( | string | $a_title = "", |
| string | $a_postvar = "" |
||
| ) |
Reimplemented from ilFormPropertyGUI.
Reimplemented in ilColorPickerInputGUI, ilFormulaInputGUI, ilRegExpInputGUI, ilSelectBuilderInputGUI, ilTextWizardInputGUI, ilUriInputGUI, ilTRBLColorPickerInputGUI, ilCategoryWizardInputGUI, and ilMatrixRowWizardInputGUI.
Definition at line 49 of file class.ilTextInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\lng(), setInputType(), and ilFormPropertyGUI\setType().
Here is the call graph for this function:| ilTextInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilFormPropertyGUI.
Reimplemented in ilDclTextInputGUI, ilColorPickerInputGUI, ilFormulaInputGUI, ilRegExpInputGUI, ilSelectBuilderInputGUI, ilTextWizardInputGUI, ilUriInputGUI, ilLuceneQueryInputGUI, ilTRBLColorPickerInputGUI, ilCategoryWizardInputGUI, ilMatrixRowWizardInputGUI, ilAnswerWizardInputGUI, ilErrorTextWizardInputGUI, ilEssayKeywordWizardInputGUI, ilKprimChoiceWizardInputGUI, ilMatchingPairWizardInputGUI, ilMatchingWizardInputGUI, ilMultipleChoiceWizardInputGUI, ilSingleChoiceWizardInputGUI, ilAssAnswerCorrectionsInputGUI, ilAssClozeTestCombinationVariantsInputGUI, ilAssErrorTextCorrectionsInputGUI, ilAssLongmenuCorrectionsInputGUI, ilAssMatchingPairCorrectionsInputGUI, ilAssMultipleChoiceCorrectionsInputGUI, ilAssSingleChoiceCorrectionsInputGUI, ilIdentifiedMultiValuesInputGUI, and ilKprimChoiceCorrectionsInputGUI.
Definition at line 180 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 131 of file class.ilTextInputGUI.php.
References $css_class.
| ilTextInputGUI::getDataSource | ( | ) |
Definition at line 234 of file class.ilTextInputGUI.php.
References $ajax_datasource.
| ilTextInputGUI::getDataSourceSubmitOnSelection | ( | ) |
Definition at line 252 of file class.ilTextInputGUI.php.
| ilTextInputGUI::getDataSourceSubmitUrl | ( | ) |
Definition at line 262 of file class.ilTextInputGUI.php.
| ilTextInputGUI::getInlineStyle | ( | ) |
Definition at line 121 of file class.ilTextInputGUI.php.
References $style_css.
| ilTextInputGUI::getInput | ( | ) |
Reimplemented in ilColorPickerInputGUI, ilFormulaInputGUI, ilRegExpInputGUI, ilSelectBuilderInputGUI, ilTextWizardInputGUI, ilTRBLColorPickerInputGUI, ilCategoryWizardInputGUI, ilMatrixRowWizardInputGUI, ilLogicalAnswerComparisonExpressionInputGUI, and ilIdentifiedMultiValuesInputGUI.
Definition at line 226 of file class.ilTextInputGUI.php.
References ilFormPropertyGUI\getMulti(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\str(), and ilFormPropertyGUI\strArray().
Referenced by ilUriInputGUI\checkInput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTextInputGUI::getInputType | ( | ) |
Definition at line 165 of file class.ilTextInputGUI.php.
References $input_type.
| ilTextInputGUI::getMaxLength | ( | ) |
Definition at line 106 of file class.ilTextInputGUI.php.
References $maxlength.
Referenced by ilSingleChoiceWizardInputGUI\checkAnswersInput(), ilTextWizardInputGUI\checkInput(), ilSelectBuilderInputGUI\insert(), ilMatrixRowWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilKprimChoiceWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilTextWizardInputGUI\render(), and ilMultipleTextsInputGUI\render().
Here is the caller graph for this function:| ilTextInputGUI::getPostValueForComparison | ( | ) |
Definition at line 447 of file class.ilTextInputGUI.php.
| ilTextInputGUI::getSize | ( | ) |
Definition at line 141 of file class.ilTextInputGUI.php.
References $size.
Referenced by ilSelectBuilderInputGUI\insert(), ilMatrixRowWizardInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilKprimChoiceWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilTextWizardInputGUI\render(), and ilMultipleTextsInputGUI\render().
Here is the caller graph for this function:| ilTextInputGUI::getSubmitFormOnEnter | ( | ) |
Definition at line 175 of file class.ilTextInputGUI.php.
References $submit_form_on_enter.
| ilTextInputGUI::getSuffix | ( | ) |
Definition at line 151 of file class.ilTextInputGUI.php.
References $suffix.
| ilTextInputGUI::getTableFilterHTML | ( | ) |
Get input item HTML to be inserted into table filters.
Implements ilTableFilterItem.
Definition at line 425 of file class.ilTextInputGUI.php.
| ilTextInputGUI::getToolbarHTML | ( | ) |
Get input item HTML to be inserted into ilToolbarGUI.
Implements ilToolbarItem.
Definition at line 431 of file class.ilTextInputGUI.php.
| ilTextInputGUI::getValidationFailureMessage | ( | ) |
Definition at line 86 of file class.ilTextInputGUI.php.
References $validationFailureMessage.
Referenced by checkInput().
Here is the caller graph for this function:| ilTextInputGUI::getValidationRegexp | ( | ) |
Definition at line 96 of file class.ilTextInputGUI.php.
References $validationRegexp.
Referenced by ilSelectBuilderInputGUI\checkInput(), checkInput(), ilTextWizardInputGUI\checkInput(), and ilMultipleTextsInputGUI\onCheckInput().
Here is the caller graph for this function:| ilTextInputGUI::getValue | ( | ) |
Reimplemented in ilIdentifiedMultiValuesInputGUI.
Definition at line 76 of file class.ilTextInputGUI.php.
References $value.
Referenced by ilColorPickerInputGUI\insert(), and ilTRBLColorPickerInputGUI\insert().
Here is the caller graph for this function:| ilTextInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Reimplemented in ilColorPickerInputGUI, ilSelectBuilderInputGUI, ilTextWizardInputGUI, ilTRBLColorPickerInputGUI, ilCategoryWizardInputGUI, ilMatrixRowWizardInputGUI, ilAnswerWizardInputGUI, ilErrorTextWizardInputGUI, ilEssayKeywordWizardInputGUI, ilKprimChoiceWizardInputGUI, ilMatchingPairWizardInputGUI, ilMatchingWizardInputGUI, ilMultipleChoiceWizardInputGUI, ilSingleChoiceWizardInputGUI, ilAssAnswerCorrectionsInputGUI, ilAssClozeTestCombinationVariantsInputGUI, ilAssErrorTextCorrectionsInputGUI, ilAssLongmenuCorrectionsInputGUI, ilAssMatchingPairCorrectionsInputGUI, ilAssMultipleChoiceCorrectionsInputGUI, and ilAssSingleChoiceCorrectionsInputGUI.
Definition at line 416 of file class.ilTextInputGUI.php.
References ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilTextInputGUI::isHtmlAutoCompleteDisabled | ( | ) |
Definition at line 442 of file class.ilTextInputGUI.php.
| ilTextInputGUI::render | ( | string | $a_mode = "" | ) |
Reimplemented in ilTextWizardInputGUI, ilMultipleImagesInputGUI, ilMultipleTextsInputGUI, and ilAssNestedOrderingElementsInputGUI.
Definition at line 278 of file class.ilTextInputGUI.php.
References $lng, ILIAS\GlobalScreen\Scope\Footer\Factory\getTitle(), ILIAS\UI\Implementation\Component\Input\getValue(), ILIAS\Repository\lng(), and ilLegacyFormElementsUtil\prepareFormOutput().
Referenced by ilAssLongmenuCorrectionsInputGUI\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 126 of file class.ilTextInputGUI.php.
| ilTextInputGUI::setDataSource | ( | string | $href, |
| ?string | $a_delimiter = null |
||
| ) |
Definition at line 239 of file class.ilTextInputGUI.php.
Referenced by ilRoleAutoCompleteInputGUI\__construct(), and ILIAS\LegalDocuments\Table\HistoryTable\userName().
Here is the caller graph for this function:| ilTextInputGUI::setDataSourceSubmitOnSelection | ( | bool | $a_stat | ) |
Definition at line 247 of file class.ilTextInputGUI.php.
| ilTextInputGUI::setDataSourceSubmitUrl | ( | string | $a_url | ) |
Definition at line 257 of file class.ilTextInputGUI.php.
| ilTextInputGUI::setDisableHtmlAutoComplete | ( | bool | $autocomplete | ) |
Definition at line 437 of file class.ilTextInputGUI.php.
| ilTextInputGUI::setInlineStyle | ( | string | $a_style | ) |
Definition at line 116 of file class.ilTextInputGUI.php.
| ilTextInputGUI::setInputType | ( | string | $a_type | ) |
set input type
| string | $a_type | input type password | text |
Definition at line 160 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 101 of file class.ilTextInputGUI.php.
Referenced by ilMatchingWizardInputGUI\__construct(), ilSingleChoiceWizardInputGUI\__construct(), ilRoleAutoCompleteInputGUI\__construct(), ilCategoryWizardInputGUI\__construct(), and ilMatrixRowWizardInputGUI\__construct().
Here is the caller graph for this function:| ilTextInputGUI::setMultiValues | ( | array | $a_values | ) |
Reimplemented from ilFormPropertyGUI.
Reimplemented in ilIdentifiedMultiValuesInputGUI.
Definition at line 267 of file class.ilTextInputGUI.php.
Referenced by setValue().
Here is the caller graph for this function:| ilTextInputGUI::setSize | ( | int | $a_size | ) |
Definition at line 111 of file class.ilTextInputGUI.php.
Referenced by ilAnswerWizardInputGUI\__construct(), ilMatchingWizardInputGUI\__construct(), ilMultipleImagesInputGUI\__construct(), ilSingleChoiceWizardInputGUI\__construct(), and ilRoleAutoCompleteInputGUI\__construct().
Here is the caller graph for this function:| ilTextInputGUI::setSubmitFormOnEnter | ( | bool | $a_val | ) |
Definition at line 170 of file class.ilTextInputGUI.php.
| ilTextInputGUI::setSuffix | ( | string | $a_value | ) |
Definition at line 146 of file class.ilTextInputGUI.php.
| ilTextInputGUI::setValidationFailureMessage | ( | string | $a_msg | ) |
Definition at line 81 of file class.ilTextInputGUI.php.
| ilTextInputGUI::setValidationRegexp | ( | string | $a_value | ) |
Definition at line 91 of file class.ilTextInputGUI.php.
| ilTextInputGUI::setValue | ( | $a_value | ) |
| string | array | $a_value |
Reimplemented in ilColorPickerInputGUI, ilFormulaInputGUI, ilTextWizardInputGUI, ilCategoryWizardInputGUI, ilMatrixRowWizardInputGUI, ilAnswerWizardInputGUI, ilErrorTextWizardInputGUI, ilEssayKeywordWizardInputGUI, ilKprimChoiceWizardInputGUI, ilMatchingPairWizardInputGUI, ilMatchingWizardInputGUI, ilMultipleChoiceWizardInputGUI, ilSingleChoiceWizardInputGUI, ilAssAnswerCorrectionsInputGUI, ilAssClozeTestCombinationVariantsInputGUI, ilAssErrorTextCorrectionsInputGUI, ilAssMatchingPairCorrectionsInputGUI, ilAssMultipleChoiceCorrectionsInputGUI, ilAssSingleChoiceCorrectionsInputGUI, ilKprimChoiceCorrectionsInputGUI, and ilIdentifiedMultiValuesInputGUI.
Definition at line 64 of file class.ilTextInputGUI.php.
References ilFormPropertyGUI\getMulti(), and setMultiValues().
Referenced by setValueByArray().
Here is the call graph for this function:
Here is the caller graph for this function:| ilTextInputGUI::setValueByArray | ( | array | $a_values | ) |
Reimplemented in ilDclTextInputGUI, ilColorPickerInputGUI, ilSelectBuilderInputGUI, ilSingleChoiceWizardInputGUI, and ilIdentifiedMultiValuesInputGUI.
Definition at line 136 of file class.ilTextInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
Here is the call graph for this function:
|
protected |
Definition at line 40 of file class.ilTextInputGUI.php.
Referenced by getDataSource().
|
protected |
Definition at line 42 of file class.ilTextInputGUI.php.
|
protected |
Definition at line 43 of file class.ilTextInputGUI.php.
|
protected |
Definition at line 41 of file class.ilTextInputGUI.php.
|
protected |
Definition at line 46 of file class.ilTextInputGUI.php.
|
protected |
Definition at line 39 of file class.ilTextInputGUI.php.
Referenced by getCssClass().
|
protected |
Definition at line 47 of file class.ilTextInputGUI.php.
Referenced by getInputType().
|
protected |
Definition at line 33 of file class.ilTextInputGUI.php.
Referenced by getMaxLength().
|
protected |
Definition at line 34 of file class.ilTextInputGUI.php.
Referenced by getSize().
|
protected |
Definition at line 38 of file class.ilTextInputGUI.php.
Referenced by getInlineStyle().
|
protected |
Definition at line 44 of file class.ilTextInputGUI.php.
Referenced by getSubmitFormOnEnter().
|
protected |
Definition at line 37 of file class.ilTextInputGUI.php.
Referenced by ilMatchingWizardInputGUI\checkInput(), ilMultipleChoiceWizardInputGUI\checkInput(), ilSingleChoiceWizardInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkUploads(), getSuffix(), ilKprimChoiceWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilMultipleImagesInputGUI\onCheckInput(), and ilMultipleImagesInputGUI\render().
|
protected |
Definition at line 36 of file class.ilTextInputGUI.php.
Referenced by getValidationFailureMessage().
|
protected |
Definition at line 35 of file class.ilTextInputGUI.php.
Referenced by getValidationRegexp().
|
protected |
Definition at line 32 of file class.ilTextInputGUI.php.
Referenced by ilSingleChoiceWizardInputGUI\checkAnswersInput(), ilRegExpInputGUI\checkInput(), ilSelectBuilderInputGUI\checkInput(), checkInput(), ilTextWizardInputGUI\checkInput(), ilTRBLColorPickerInputGUI\checkInput(), ilAnswerWizardInputGUI\checkInput(), ilMatchingPairWizardInputGUI\checkInput(), ilMatchingWizardInputGUI\checkInput(), ilMultipleImagesInputGUI\fetchContentImageSourceFromValue(), ilMultipleImagesInputGUI\fetchContentImageTitleFromValue(), ilMultipleTextsInputGUI\fetchContentTextFromValue(), ilColorPickerInputGUI\getInput(), getValue(), ilSelectBuilderInputGUI\insert(), ilTRBLColorPickerInputGUI\insert(), ilAnswerWizardInputGUI\insert(), ilErrorTextWizardInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilKprimChoiceWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilAssAnswerCorrectionsInputGUI\insert(), ilAssErrorTextCorrectionsInputGUI\insert(), ilAssMultipleChoiceCorrectionsInputGUI\insert(), ilAssSingleChoiceCorrectionsInputGUI\insert(), ilTextWizardInputGUI\render(), ilMultipleImagesInputGUI\render(), ilMultipleTextsInputGUI\render(), ilCategoryWizardInputGUI\setValue(), ilMatrixRowWizardInputGUI\setValue(), ilAnswerWizardInputGUI\setValue(), ilEssayKeywordWizardInputGUI\setValue(), ilKprimChoiceWizardInputGUI\setValue(), ilMatchingWizardInputGUI\setValue(), ilMultipleChoiceWizardInputGUI\setValue(), ilSingleChoiceWizardInputGUI\setValue(), ilAssAnswerCorrectionsInputGUI\setValue(), ilAssClozeTestCombinationVariantsInputGUI\setValue(), ilAssMatchingPairCorrectionsInputGUI\setValue(), ilAssMultipleChoiceCorrectionsInputGUI\setValue(), ilAssSingleChoiceCorrectionsInputGUI\setValue(), ilKprimChoiceCorrectionsInputGUI\setValue(), ilMultipleImagesInputGUI\valueHasContentImageSource(), ilMultipleImagesInputGUI\valueHasContentImageTitle(), ilAssOrderingTextsInputGUI\valueHasContentText(), and ilMultipleTextsInputGUI\valueHasContentText().