ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
This class represents a single choice wizard property in a property form. More...
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) | |
![]() | |
__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... | |
Protected Member Functions | |
getTextInputLabel ($lng) | |
getPointsInputLabel ($lng) | |
getTemplate () | |
prepareFormOutput (float|string $input, bool $strip=false) | |
![]() | |
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 | 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 30 of file class.ilAnswerWizardInputGUI.php.
ilAnswerWizardInputGUI::__construct | ( | $a_title = "" , |
|
$a_postvar = "" |
|||
) |
Constructor.
string | $a_title | Title |
string | $a_postvar | Post Variable |
Definition at line 50 of file class.ilAnswerWizardInputGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), renderer(), and ilTextInputGUI\setSize().
ilAnswerWizardInputGUI::checkInput | ( | ) |
Check input, strip slashes etc.
set alert, if input is not ok.
Definition at line 226 of file class.ilAnswerWizardInputGUI.php.
References $data, ilTextInputGUI\$value, ilSubEnabledFormPropertyGUI\checkSubItemsInput(), getMinValue(), ilFormPropertyGUI\getPostVar(), ILIAS\Repository\lng(), minvalueShouldBeGreater(), ilFormPropertyGUI\raw(), ILIAS\Repository\refinery(), and ilFormPropertyGUI\setAlert().
ilAnswerWizardInputGUI::getAllowMove | ( | ) |
Get allow move.
Definition at line 163 of file class.ilAnswerWizardInputGUI.php.
References $allowMove.
Referenced by insert().
ilAnswerWizardInputGUI::getMinValue | ( | ) |
Get Minimum Value.
Definition at line 218 of file class.ilAnswerWizardInputGUI.php.
References $minvalue.
Referenced by checkInput().
|
protected |
$lng |
Definition at line 376 of file class.ilAnswerWizardInputGUI.php.
References ilFormPropertyGUI\$lng, and ilLanguage\txt().
Referenced by ilAssAnswerCorrectionsInputGUI\insert(), and insert().
ilAnswerWizardInputGUI::getQuestionObject | ( | ) |
Get question object.
Definition at line 143 of file class.ilAnswerWizardInputGUI.php.
References $qstObject.
ilAnswerWizardInputGUI::getSingleline | ( | ) |
Get singleline.
Definition at line 123 of file class.ilAnswerWizardInputGUI.php.
References $singleline.
Referenced by insert().
|
protected |
Definition at line 384 of file class.ilAnswerWizardInputGUI.php.
Referenced by insert().
|
protected |
$lng |
Definition at line 367 of file class.ilAnswerWizardInputGUI.php.
References ilFormPropertyGUI\$lng, and ilLanguage\txt().
Referenced by ilAssAnswerCorrectionsInputGUI\insert(), and insert().
ilAnswerWizardInputGUI::getValues | ( | ) |
Get Values.
Definition at line 103 of file class.ilAnswerWizardInputGUI.php.
References $values.
ilAnswerWizardInputGUI::insert | ( | ilTemplate | $a_tpl | ) |
Definition at line 263 of file class.ilAnswerWizardInputGUI.php.
References $DIC, ilTextInputGUI\$value, getAllowMove(), ilFormPropertyGUI\getDisabled(), ilFormPropertyGUI\getFieldId(), ilTextInputGUI\getMaxLength(), getPointsInputLabel(), ilFormPropertyGUI\getPostVar(), getSingleline(), ilTextInputGUI\getSize(), getTemplate(), getTextInputLabel(), isAddRemoveAllowed(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilLegacyFormElementsUtil\prepareFormOutput(), ilLegacyFormElementsUtil\prepareTextareaOutput(), renderer(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
ilAnswerWizardInputGUI::isAddRemoveAllowed | ( | ) |
Definition at line 171 of file class.ilAnswerWizardInputGUI.php.
References $allowAddRemove.
Referenced by insert().
ilAnswerWizardInputGUI::minvalueShouldBeGreater | ( | ) |
Get minvalueShouldBeGreater.
Definition at line 199 of file class.ilAnswerWizardInputGUI.php.
References $minvalueShouldBeGreater.
Referenced by checkInput(), and setMinvalueShouldBeGreater().
|
protected |
Definition at line 389 of file class.ilAnswerWizardInputGUI.php.
References null, ILIAS\Repository\refinery(), and ilUtil\stripSlashes().
Referenced by ilAssAnswerCorrectionsInputGUI\insert().
ilAnswerWizardInputGUI::setAllowAddRemove | ( | $allowAddRemove | ) |
bool | $allowAddRemove |
Definition at line 179 of file class.ilAnswerWizardInputGUI.php.
References $allowAddRemove.
ilAnswerWizardInputGUI::setAllowMove | ( | $a_allow_move | ) |
Set allow move.
boolean | $a_allow_move | Allow move |
Definition at line 153 of file class.ilAnswerWizardInputGUI.php.
ilAnswerWizardInputGUI::setMinValue | ( | $a_minvalue | ) |
Set Minimum Value.
float | $a_minvalue | Minimum Value |
Definition at line 208 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 189 of file class.ilAnswerWizardInputGUI.php.
References minvalueShouldBeGreater().
ilAnswerWizardInputGUI::setQuestionObject | ( | $a_value | ) |
Set question object.
object | $a_value | test object |
Definition at line 133 of file class.ilAnswerWizardInputGUI.php.
ilAnswerWizardInputGUI::setSingleline | ( | $a_value | ) |
Set singleline.
boolean | $a_value | Value |
Definition at line 113 of file class.ilAnswerWizardInputGUI.php.
ilAnswerWizardInputGUI::setValue | ( | $a_value | ) |
Definition at line 64 of file class.ilAnswerWizardInputGUI.php.
References ilTextInputGUI\$value, null, and ILIAS\Repository\refinery().
ilAnswerWizardInputGUI::setValues | ( | $a_values | ) |
Set Values.
array | $a_value | Value |
Definition at line 93 of file class.ilAnswerWizardInputGUI.php.
|
protected |
Definition at line 34 of file class.ilAnswerWizardInputGUI.php.
Referenced by isAddRemoveAllowed(), and setAllowAddRemove().
|
protected |
Definition at line 33 of file class.ilAnswerWizardInputGUI.php.
Referenced by getAllowMove().
|
protected |
Definition at line 40 of file class.ilAnswerWizardInputGUI.php.
|
protected |
Definition at line 41 of file class.ilAnswerWizardInputGUI.php.
|
protected |
Definition at line 37 of file class.ilAnswerWizardInputGUI.php.
Referenced by getMinValue().
|
protected |
Definition at line 38 of file class.ilAnswerWizardInputGUI.php.
Referenced by minvalueShouldBeGreater().
|
protected |
Definition at line 36 of file class.ilAnswerWizardInputGUI.php.
Referenced by getQuestionObject().
|
protected |
Definition at line 42 of file class.ilAnswerWizardInputGUI.php.
|
protected |
Definition at line 35 of file class.ilAnswerWizardInputGUI.php.
Referenced by getSingleline().
|
protected |
Definition at line 32 of file class.ilAnswerWizardInputGUI.php.
Referenced by getValues().