ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
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 () | |
Check input, strip slashes etc. More... | |
insert (ilTemplate $a_tpl) | |
![]() | |
__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 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 28 of file class.ilSingleChoiceWizardInputGUI.php.
ilSingleChoiceWizardInputGUI::__construct | ( | $a_title = '' , |
|
$a_postvar = '' |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Definition at line 45 of file class.ilSingleChoiceWizardInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ilTextInputGUI\setMaxLength(), ilTextInputGUI\setSize(), and setSuffixes().
ilSingleChoiceWizardInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 222 of file class.ilSingleChoiceWizardInputGUI.php.
References $DIC, $filename, $hideImages, $index, ilFormPropertyGUI\$lng, ilTextInputGUI\$suffix, ilObjAdvancedEditing\_getUsedHTMLTagsAsString(), ilSubEnabledFormPropertyGUI\checkSubItemsInput(), ilTextInputGUI\getMaxLength(), ilFormPropertyGUI\getPostVar(), ilFormPropertyGUI\getRequired(), getSingleline(), getSuffixes(), ilFormPropertyGUI\setAlert(), ilArrayUtil\stripSlashesRecursive(), ilLanguage\txt(), and ilVirusScanner\virusHandling().
ilSingleChoiceWizardInputGUI::getAllowMove | ( | ) |
Get allow move.
Definition at line 203 of file class.ilSingleChoiceWizardInputGUI.php.
References $allowMove.
Referenced by ilKprimChoiceWizardInputGUI\checkInput(), ilMultipleChoiceWizardInputGUI\insert(), and insert().
ilSingleChoiceWizardInputGUI::getQuestionObject | ( | ) |
Get question object.
Definition at line 183 of file class.ilSingleChoiceWizardInputGUI.php.
References $qstObject.
ilSingleChoiceWizardInputGUI::getShowPoints | ( | ) |
Definition at line 123 of file class.ilSingleChoiceWizardInputGUI.php.
References $showPoints.
Referenced by insert().
ilSingleChoiceWizardInputGUI::getSingleline | ( | ) |
Get singleline.
Definition at line 163 of file class.ilSingleChoiceWizardInputGUI.php.
References $singleline.
Referenced by ilKprimChoiceCorrectionsInputGUI\checkInput(), ilMultipleChoiceWizardInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkInput(), checkInput(), ilKprimChoiceWizardInputGUI\checkUploads(), ilAssSingleChoiceCorrectionsInputGUI\insert(), ilAssMultipleChoiceCorrectionsInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), and insert().
ilSingleChoiceWizardInputGUI::getSuffixes | ( | ) |
Get Accepted Suffixes.
Definition at line 113 of file class.ilSingleChoiceWizardInputGUI.php.
References $suffixes.
Referenced by ilMultipleChoiceWizardInputGUI\checkInput(), ilKprimChoiceWizardInputGUI\checkInput(), checkInput(), ilKprimChoiceWizardInputGUI\checkUploads(), ilMultipleChoiceWizardInputGUI\insert(), and insert().
ilSingleChoiceWizardInputGUI::getValues | ( | ) |
Get Values.
Definition at line 143 of file class.ilSingleChoiceWizardInputGUI.php.
References $values.
ilSingleChoiceWizardInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
$a_tpl | ilTemplate |
Definition at line 371 of file class.ilSingleChoiceWizardInputGUI.php.
References $DIC, $i, ilFormPropertyGUI\$lng, ilTextInputGUI\$suffix, $tpl, ilTextInputGUI\$value, ilGlyphGUI\ADD, ilGlyphGUI\DOWN, ilGlyphGUI\get(), getAllowMove(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), ilFileUtils\getFileSizeInfo(), ilTextInputGUI\getMaxLength(), ilFormPropertyGUI\getPostVar(), getShowPoints(), getSingleline(), ilTextInputGUI\getSize(), getSuffixes(), ilTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ilGlyphGUI\REMOVE, ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), ilLanguage\txt(), and ilGlyphGUI\UP.
Referenced by ilKprimChoiceCorrectionsInputGUI\checkInput(), and ilKprimChoiceWizardInputGUI\checkInput().
ilSingleChoiceWizardInputGUI::setAllowMove | ( | $a_allow_move | ) |
Set allow move.
boolean | $a_allow_move | Allow move |
Definition at line 193 of file class.ilSingleChoiceWizardInputGUI.php.
ilSingleChoiceWizardInputGUI::setHideImages | ( | $a_hide | ) |
Set hide images.
array | $a_hide | Hide images |
Definition at line 103 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 210 of file class.ilSingleChoiceWizardInputGUI.php.
ilSingleChoiceWizardInputGUI::setQuestionObject | ( | $a_value | ) |
Set question object.
object | $a_value | test object |
Definition at line 173 of file class.ilSingleChoiceWizardInputGUI.php.
ilSingleChoiceWizardInputGUI::setShowPoints | ( | $a_value | ) |
Definition at line 118 of file class.ilSingleChoiceWizardInputGUI.php.
ilSingleChoiceWizardInputGUI::setSingleline | ( | $a_value | ) |
Set singleline.
boolean | $a_value | Value |
Definition at line 153 of file class.ilSingleChoiceWizardInputGUI.php.
ilSingleChoiceWizardInputGUI::setSuffixes | ( | $a_suffixes | ) |
Set Accepted Suffixes.
array | $a_suffixes | Accepted Suffixes |
Definition at line 93 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by __construct().
ilSingleChoiceWizardInputGUI::setValue | ( | $a_value | ) |
Definition at line 56 of file class.ilSingleChoiceWizardInputGUI.php.
References $index, and ilTextInputGUI\$value.
Referenced by setValueByArray().
ilSingleChoiceWizardInputGUI::setValueByArray | ( | array | $a_values | ) |
Definition at line 81 of file class.ilSingleChoiceWizardInputGUI.php.
References ilFormPropertyGUI\getPostVar(), and setValue().
ilSingleChoiceWizardInputGUI::setValues | ( | $a_values | ) |
Set Values.
array | $a_value | Value |
Definition at line 133 of file class.ilSingleChoiceWizardInputGUI.php.
|
protected |
Definition at line 31 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getAllowMove().
|
protected |
Definition at line 36 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by checkInput().
|
protected |
Definition at line 37 of file class.ilSingleChoiceWizardInputGUI.php.
|
protected |
Definition at line 33 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getQuestionObject().
|
protected |
Definition at line 35 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getShowPoints().
|
protected |
Definition at line 32 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getSingleline().
|
protected |
Definition at line 34 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by getSuffixes().
|
protected |
Definition at line 30 of file class.ilSingleChoiceWizardInputGUI.php.
Referenced by ilMultipleChoiceWizardInputGUI\checkInput(), and getValues().