|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilAnswerWizardInputGUI:
Collaboration diagram for ilAnswerWizardInputGUI:Public Member Functions | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. More... | |
| setValue ($a_value) | |
| setValues ($a_values) | |
| Set Values. More... | |
| getValues () | |
| Get Values. More... | |
| setSingleline ($a_value) | |
| Set singleline. More... | |
| getSingleline () | |
| Get singleline. More... | |
| setQuestionObject ($a_value) | |
| Set question object. More... | |
| getQuestionObject () | |
| Get question object. More... | |
| setAllowMove ($a_allow_move) | |
| Set allow move. More... | |
| getAllowMove () | |
| Get allow move. More... | |
| isAddRemoveAllowed () | |
| setAllowAddRemove ($allowAddRemove) | |
| setMinvalueShouldBeGreater ($a_bool) | |
| Set minvalueShouldBeGreater. More... | |
| minvalueShouldBeGreater () | |
| Get minvalueShouldBeGreater. More... | |
| setMinValue ($a_minvalue) | |
| Set Minimum Value. More... | |
| getMinValue () | |
| Get Minimum Value. More... | |
| checkInput () | |
| Check input, strip slashes etc. More... | |
| insert (ilTemplate $a_tpl) | |
Public Member Functions inherited from ilTextInputGUI | |
| __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... | |
Protected Member Functions | |
| getTextInputLabel ($lng) | |
| getPointsInputLabel ($lng) | |
| getTemplate () | |
Protected Member Functions inherited from ilFormPropertyGUI | |
| 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) | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters (string $a_text) |
| Remove prohibited characters see #19159. More... | |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning This class represents a single choice wizard property in a property form.
Definition at line 26 of file class.ilAnswerWizardInputGUI.php.
| ilAnswerWizardInputGUI::__construct | ( | $a_title = "", |
|
$a_postvar = "" |
|||
| ) |
Constructor.
| string | $a_title | Title |
| string | $a_postvar | Post Variable |
Definition at line 42 of file class.ilAnswerWizardInputGUI.php.
References ILIAS\GlobalScreen\Provider\__construct(), and ilTextInputGUI\setSize().
Here is the call graph for this function:| ilAnswerWizardInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Reimplemented from ilTextInputGUI.
Reimplemented in ilAssAnswerCorrectionsInputGUI, ilAssClozeTestCombinationVariantsInputGUI, and ilAssLongmenuCorrectionsInputGUI.
Definition at line 203 of file class.ilAnswerWizardInputGUI.php.
References $DIC, ilFormPropertyGUI\$lng, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), getMinValue(), ilFormPropertyGUI\getPostVar(), minvalueShouldBeGreater(), ilFormPropertyGUI\setAlert(), ilArrayUtil\stripSlashesRecursive(), and ilLanguage\txt().
Here is the call graph for this function:| ilAnswerWizardInputGUI::getAllowMove | ( | ) |
Get allow move.
Definition at line 140 of file class.ilAnswerWizardInputGUI.php.
References $allowMove.
Referenced by insert().
Here is the caller graph for this function:| ilAnswerWizardInputGUI::getMinValue | ( | ) |
Get Minimum Value.
Definition at line 195 of file class.ilAnswerWizardInputGUI.php.
References $minvalue.
Referenced by checkInput(), ilAssAnswerCorrectionsInputGUI\checkInput(), and ilAssClozeTestCombinationVariantsInputGUI\checkInput().
Here is the caller graph for this function:
|
protected |
| $lng |
Reimplemented in ilLogicalAnswerComparisonExpressionInputGUI.
Definition at line 370 of file class.ilAnswerWizardInputGUI.php.
References ilFormPropertyGUI\$lng, and ilLanguage\txt().
Referenced by insert(), and ilAssAnswerCorrectionsInputGUI\insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAnswerWizardInputGUI::getQuestionObject | ( | ) |
Get question object.
Definition at line 120 of file class.ilAnswerWizardInputGUI.php.
References $qstObject.
| ilAnswerWizardInputGUI::getSingleline | ( | ) |
Get singleline.
Definition at line 100 of file class.ilAnswerWizardInputGUI.php.
References $singleline.
Referenced by insert().
Here is the caller graph for this function:
|
protected |
Reimplemented in ilLogicalAnswerComparisonExpressionInputGUI.
Definition at line 378 of file class.ilAnswerWizardInputGUI.php.
Referenced by insert().
Here is the caller graph for this function:
|
protected |
| $lng |
Reimplemented in ilLogicalAnswerComparisonExpressionInputGUI.
Definition at line 361 of file class.ilAnswerWizardInputGUI.php.
References ilFormPropertyGUI\$lng, and ilLanguage\txt().
Referenced by insert(), and ilAssAnswerCorrectionsInputGUI\insert().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAnswerWizardInputGUI::getValues | ( | ) |
Get Values.
Reimplemented in ilLogicalAnswerComparisonExpressionInputGUI.
Definition at line 80 of file class.ilAnswerWizardInputGUI.php.
References $values.
| ilAnswerWizardInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Reimplemented from ilTextInputGUI.
Reimplemented in ilAssAnswerCorrectionsInputGUI, ilAssClozeTestCombinationVariantsInputGUI, and ilAssLongmenuCorrectionsInputGUI.
Definition at line 262 of file class.ilAnswerWizardInputGUI.php.
References $DIC, $i, ilFormPropertyGUI\$lng, $tpl, ilTextInputGUI\$value, ilGlyphGUI\ADD, ilGlyphGUI\DOWN, ilGlyphGUI\get(), getAllowMove(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), ilTextInputGUI\getMaxLength(), getPointsInputLabel(), ilFormPropertyGUI\getPostVar(), getSingleline(), ilTextInputGUI\getSize(), getTemplate(), getTextInputLabel(), isAddRemoveAllowed(), ilTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ilGlyphGUI\REMOVE, ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), ilLanguage\txt(), and ilGlyphGUI\UP.
Here is the call graph for this function:| ilAnswerWizardInputGUI::isAddRemoveAllowed | ( | ) |
Definition at line 148 of file class.ilAnswerWizardInputGUI.php.
References $allowAddRemove.
Referenced by insert().
Here is the caller graph for this function:| ilAnswerWizardInputGUI::minvalueShouldBeGreater | ( | ) |
Get minvalueShouldBeGreater.
Definition at line 176 of file class.ilAnswerWizardInputGUI.php.
References $minvalueShouldBeGreater.
Referenced by checkInput(), ilAssAnswerCorrectionsInputGUI\checkInput(), ilAssClozeTestCombinationVariantsInputGUI\checkInput(), and setMinvalueShouldBeGreater().
Here is the caller graph for this function:| ilAnswerWizardInputGUI::setAllowAddRemove | ( | $allowAddRemove | ) |
| bool | $allowAddRemove |
Definition at line 156 of file class.ilAnswerWizardInputGUI.php.
References $allowAddRemove.
| ilAnswerWizardInputGUI::setAllowMove | ( | $a_allow_move | ) |
Set allow move.
| boolean | $a_allow_move | Allow move |
Definition at line 130 of file class.ilAnswerWizardInputGUI.php.
| ilAnswerWizardInputGUI::setMinValue | ( | $a_minvalue | ) |
Set Minimum Value.
| float | $a_minvalue | Minimum Value |
Definition at line 185 of file class.ilAnswerWizardInputGUI.php.
| ilAnswerWizardInputGUI::setMinvalueShouldBeGreater | ( | $a_bool | ) |
Set minvalueShouldBeGreater.
| boolean | $a_bool | true if the minimum value should be greater than minvalue |
Definition at line 166 of file class.ilAnswerWizardInputGUI.php.
References minvalueShouldBeGreater().
Here is the call graph for this function:| ilAnswerWizardInputGUI::setQuestionObject | ( | $a_value | ) |
Set question object.
| object | $a_value | test object |
Definition at line 110 of file class.ilAnswerWizardInputGUI.php.
| ilAnswerWizardInputGUI::setSingleline | ( | $a_value | ) |
Set singleline.
| boolean | $a_value | Value |
Definition at line 90 of file class.ilAnswerWizardInputGUI.php.
| ilAnswerWizardInputGUI::setValue | ( | $a_value | ) |
| string | array | $a_value |
Reimplemented from ilTextInputGUI.
Reimplemented in ilAssAnswerCorrectionsInputGUI, and ilAssClozeTestCombinationVariantsInputGUI.
Definition at line 49 of file class.ilAnswerWizardInputGUI.php.
References $index, and ilTextInputGUI\$value.
| ilAnswerWizardInputGUI::setValues | ( | $a_values | ) |
Set Values.
| array | $a_value | Value |
Reimplemented in ilLogicalAnswerComparisonExpressionInputGUI.
Definition at line 70 of file class.ilAnswerWizardInputGUI.php.
|
protected |
Definition at line 30 of file class.ilAnswerWizardInputGUI.php.
Referenced by isAddRemoveAllowed(), and setAllowAddRemove().
|
protected |
Definition at line 29 of file class.ilAnswerWizardInputGUI.php.
Referenced by getAllowMove().
|
protected |
Definition at line 33 of file class.ilAnswerWizardInputGUI.php.
Referenced by getMinValue().
|
protected |
Definition at line 34 of file class.ilAnswerWizardInputGUI.php.
Referenced by minvalueShouldBeGreater().
|
protected |
Definition at line 32 of file class.ilAnswerWizardInputGUI.php.
Referenced by getQuestionObject().
|
protected |
Definition at line 31 of file class.ilAnswerWizardInputGUI.php.
Referenced by getSingleline().
|
protected |
Definition at line 28 of file class.ilAnswerWizardInputGUI.php.
Referenced by ilAssClozeTestCombinationVariantsInputGUI\checkInput(), and getValues().