|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
This class represents a single choice wizard property in a property form. More...
Inheritance diagram for ilSingleChoiceWizardInputGUI:
Collaboration diagram for ilSingleChoiceWizardInputGUI:Public Member Functions | |
| __construct ($a_title='', $a_postvar='') | |
| Constructor. More... | |
| setValue ($a_value) | |
| setValueByArray (array $a_values) | |
| setSuffixes ($a_suffixes) | |
| Set Accepted Suffixes. More... | |
| setHideImages ($a_hide) | |
| Set hide images. More... | |
| getSuffixes () | |
| Get Accepted Suffixes. More... | |
| setShowPoints ($a_value) | |
| getShowPoints () | |
| 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... | |
| setPending (string $val) | |
| checkInput () | |
| 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 () | |
| 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... | |
Protected Member Functions | |
| checkAnswersInput (array $data) | |
| Checks the input of the answers and returns the answers as an array if the input is valid or a string with the error message if the input is invalid. 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) | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilFormPropertyGUI | |
| static | removeProhibitedCharacters (string $a_text) |
| Remove prohibited characters see #19159. More... | |
This class represents a single choice wizard property in a property form.
Definition at line 31 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::__construct | ( | $a_title = '', |
|
$a_postvar = '' |
|||
| ) |
Constructor.
| string | $a_title | Title |
| string | $a_postvar | Post Variable |
Definition at line 52 of file class.ilSingleChoiceWizardInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilTextInputGUI\setMaxLength(), ilTextInputGUI\setSize(), and setSuffixes().
Here is the call graph for this function:
|
protected |
Checks the input of the answers and returns the answers as an array if the input is valid or a string with the error message if the input is invalid.
The input is invalid if an answer is empty and no imagename was provided.
Definition at line 233 of file class.ilSingleChoiceWizardInputGUI.php.
References ilTextInputGUI\$value, ilTextInputGUI\getMaxLength(), and ILIAS\Repository\refinery().
Referenced by ilEssayKeywordWizardInputGUI\checkInput(), ilMultipleChoiceWizardInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkInput(), and checkInput().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::checkInput | ( | ) |
Definition at line 251 of file class.ilSingleChoiceWizardInputGUI.php.
References $data, $filename, $hideImages, ilTextInputGUI\$suffix, checkAnswersInput(), ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getSingleline(), getSuffixes(), ILIAS\Repository\lng(), ilFormPropertyGUI\raw(), ILIAS\Repository\refinery(), ilFormPropertyGUI\setAlert(), and ilVirusScanner\virusHandling().
Here is the call graph for this function:| ilSingleChoiceWizardInputGUI::getAllowMove | ( | ) |
Get allow move.
Definition at line 212 of file class.ilSingleChoiceWizardInputGUI.php.
References $allowMove.
Referenced by ilKprimChoiceWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), and insert().
Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::getQuestionObject | ( | ) |
Get question object.
Definition at line 192 of file class.ilSingleChoiceWizardInputGUI.php.
References $qstObject.
| ilSingleChoiceWizardInputGUI::getShowPoints | ( | ) |
Definition at line 132 of file class.ilSingleChoiceWizardInputGUI.php.
References $showPoints.
Referenced by insert().
Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::getSingleline | ( | ) |
Get singleline.
Definition at line 172 of file class.ilSingleChoiceWizardInputGUI.php.
References $singleline.
Referenced by ilKprimChoiceCorrectionsInputGUI\checkInput(), ilMultipleChoiceWizardInputGUI\checkInput(), checkInput(), ilKprimChoiceWizardInputGUI\checkUploads(), ilAssSingleChoiceCorrectionsInputGUI\insert(), ilAssMultipleChoiceCorrectionsInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilKprimChoiceWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), and insert().
Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::getSuffixes | ( | ) |
Get Accepted Suffixes.
Definition at line 122 of file class.ilSingleChoiceWizardInputGUI.php.
References $suffixes.
Referenced by ilMultipleChoiceWizardInputGUI\checkInput(), checkInput(), ilKprimChoiceWizardInputGUI\checkUploads(), ilKprimChoiceWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), and insert().
Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::getValues | ( | ) |
Get Values.
Definition at line 152 of file class.ilSingleChoiceWizardInputGUI.php.
References $values.
| ilSingleChoiceWizardInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 370 of file class.ilSingleChoiceWizardInputGUI.php.
References $DIC, ilTextInputGUI\$suffix, ilTextInputGUI\$value, getAllowMove(), ilFormPropertyGUI\getDisabled(), ilFileUtils\getFileSizeInfo(), ilTextInputGUI\getMaxLength(), ilFormPropertyGUI\getPostVar(), getShowPoints(), getSingleline(), ilTextInputGUI\getSize(), getSuffixes(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:| ilSingleChoiceWizardInputGUI::setAllowMove | ( | $a_allow_move | ) |
Set allow move.
| boolean | $a_allow_move | Allow move |
Definition at line 202 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::setHideImages | ( | $a_hide | ) |
Set hide images.
| array | $a_hide | Hide images |
Definition at line 112 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::setPending | ( | string | $val | ) |
2023-07-05 sk: This is not how it should be, but there is no got way around it right now. We need KS-Forms. Now!
Definition at line 219 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::setQuestionObject | ( | $a_value | ) |
Set question object.
| object | $a_value | test object |
Definition at line 182 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::setShowPoints | ( | $a_value | ) |
Definition at line 127 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::setSingleline | ( | $a_value | ) |
Set singleline.
| boolean | $a_value | Value |
Definition at line 162 of file class.ilSingleChoiceWizardInputGUI.php.
| ilSingleChoiceWizardInputGUI::setSuffixes | ( | $a_suffixes | ) |
Set Accepted Suffixes.
| array | $a_suffixes | Accepted Suffixes |
Definition at line 102 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::setValue | ( | $a_value | ) |
Definition at line 67 of file class.ilSingleChoiceWizardInputGUI.php.
References ilTextInputGUI\$value, and ILIAS\Repository\refinery().
Referenced by setValueByArray().
Here is the call graph for this function:
Here is the caller graph for this function:| ilSingleChoiceWizardInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 90 of file class.ilSingleChoiceWizardInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
Here is the call graph for this function:| ilSingleChoiceWizardInputGUI::setValues | ( | $a_values | ) |
Set Values.
| array | $a_value | Value |
Definition at line 142 of file class.ilSingleChoiceWizardInputGUI.php.
|
protected |
Definition at line 34 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getAllowMove().
|
protected |
Definition at line 41 of file class.ilSingleChoiceWizardInputGUI.php.
|
protected |
Definition at line 42 of file class.ilSingleChoiceWizardInputGUI.php.
|
protected |
Definition at line 39 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by checkInput().
|
protected |
Definition at line 36 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getQuestionObject().
|
protected |
Definition at line 43 of file class.ilSingleChoiceWizardInputGUI.php.
|
protected |
Definition at line 38 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getShowPoints().
|
protected |
Definition at line 35 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getSingleline().
|
protected |
Definition at line 37 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getSuffixes().
|
protected |
Definition at line 44 of file class.ilSingleChoiceWizardInputGUI.php.
|
protected |
Definition at line 33 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getValues().